generated from pdm-project/pdm
-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when using the editables
backend with the includes
field
#242
Comments
cutoffthetop
referenced
this issue
in robert-koch-institut/mex-backend
Jul 1, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pdm-backend](https://github.com/pdm-project/pdm-backend) | build-system.requires | patch | `==2.3.0` -> `==2.3.1` | --- ### Release Notes <details> <summary>pdm-project/pdm-backend (pdm-backend)</summary> ### [`v2.3.1`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) ##### 🐞 Bug Fixes - Handle unexpected hg repo when parse scm version - by [@​huxuan](https://github.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://github.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://github.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://github.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://github.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://github.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://github.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://github.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://github.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://github.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://github.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://github.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://github.com/frostming) [<samp>(95da7)</samp>](https://github.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
cutoffthetop
referenced
this issue
in robert-koch-institut/mex-common
Jul 8, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://github.com/pdm-project/pdm-backend) | build-system.requires | patch | `==2.3.0` -> `==2.3.1` | `2.3.2` | --- ### Release Notes <details> <summary>pdm-project/pdm-backend (pdm-backend)</summary> ### [`v2.3.1`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) ##### 🐞 Bug Fixes - Handle unexpected hg repo when parse scm version - by [@​huxuan](https://github.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://github.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://github.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://github.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://github.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://github.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://github.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://github.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://github.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://github.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://github.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://github.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://github.com/frostming) [<samp>(95da7)</samp>](https://github.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
erichesse
referenced
this issue
in robert-koch-institut/mex-extractors
Jul 8, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://github.com/pdm-project/pdm-backend) | build-system.requires | patch | `==2.3.0` -> `==2.3.1` | `2.3.2` | --- ### Release Notes <details> <summary>pdm-project/pdm-backend (pdm-backend)</summary> ### [`v2.3.1`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) ##### 🐞 Bug Fixes - Handle unexpected hg repo when parse scm version - by [@​huxuan](https://github.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://github.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://github.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://github.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://github.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://github.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://github.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://github.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://github.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://github.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://github.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://github.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://github.com/frostming) [<samp>(95da7)</samp>](https://github.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: erichesse <[email protected]>
erichesse
referenced
this issue
in robert-koch-institut/mex-model
Jul 9, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://github.com/pdm-project/pdm-backend) | build-system.requires | patch | `==2.3.0` -> `==2.3.1` | `2.3.2` | --- ### Release Notes <details> <summary>pdm-project/pdm-backend (pdm-backend)</summary> ### [`v2.3.1`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) ##### 🐞 Bug Fixes - Handle unexpected hg repo when parse scm version - by [@​huxuan](https://github.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://github.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://github.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://github.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://github.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://github.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://github.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://github.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://github.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://github.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://github.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://github.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://github.com/frostming) [<samp>(95da7)</samp>](https://github.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: erichesse <[email protected]>
cutoffthetop
referenced
this issue
in robert-koch-institut/mex-editor
Jul 12, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pdm-backend](https://github.com/pdm-project/pdm-backend) | build-system.requires | patch | `==2.3.0` -> `==2.3.2` | --- ### Release Notes <details> <summary>pdm-project/pdm-backend (pdm-backend)</summary> ### [`v2.3.2`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.2) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.1...2.3.2) ##### 🐞 Bug Fixes - Detect src layout only if it exists and included by build config - by [@​frostming](https://github.com/frostming) [<samp>(9466c)</samp>](https://github.com/pdm-project/pdm-backend/commit/9466c66) - Use compatible is_relative_to for Python 3.8 - by [@​frostming](https://github.com/frostming) [<samp>(30c46)</samp>](https://github.com/pdm-project/pdm-backend/commit/30c4614) ##### 📝 Documentation - Update the logo url - by [@​frostming](https://github.com/frostming) [<samp>(fd5ef)</samp>](https://github.com/pdm-project/pdm-backend/commit/fd5eff3) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.1...2.3.2) ### [`v2.3.1`](https://github.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) ##### 🐞 Bug Fixes - Handle unexpected hg repo when parse scm version - by [@​huxuan](https://github.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://github.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://github.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://github.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://github.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://github.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://github.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://github.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://github.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://github.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://github.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://github.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://github.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://github.com/frostming) [<samp>(95da7)</samp>](https://github.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://github.com/pdm-project/pdm-backend/compare/2.3.0...2.3.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following sample project.
and the content of
pyproject.toml
isI only put folders inside the
package-dir
intoincludes
.However, when I ran
pdm install
, which would perform an editable installation of the project usingeditables
as the backend, I got the following error message:The error happens when
pdm-backend
thought we are referring tosrc/src/mypackage1
in the call toeditable.map
. This is the result of callingos.path.join(package_dir, package)
withpackage_dir
set tosrc
andpackage
set tosrc/mypackage1
.The text was updated successfully, but these errors were encountered: