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
fix: handle unexpected hg repo when parse scm version #237
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for pdm-backend-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
frostming
approved these changes
May 7, 2024
Hi @frostming, may I wonder whether it is possible to release a new version with this fix? |
cutoffthetop
referenced
this pull request
in robert-koch-institut/mex-backend
Jul 1, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pdm-backend](https://togithub.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://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://togithub.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://togithub.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://togithub.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://togithub.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://togithub.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://togithub.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://togithub.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://togithub.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://togithub.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://togithub.com/frostming) [<samp>(95da7)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
cutoffthetop
referenced
this pull request
in robert-koch-institut/mex-common
Jul 8, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://togithub.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://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://togithub.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://togithub.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://togithub.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://togithub.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://togithub.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://togithub.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://togithub.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://togithub.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://togithub.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://togithub.com/frostming) [<samp>(95da7)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
erichesse
referenced
this pull request
in robert-koch-institut/mex-extractors
Jul 8, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://togithub.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://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://togithub.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://togithub.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://togithub.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://togithub.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://togithub.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://togithub.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://togithub.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://togithub.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://togithub.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://togithub.com/frostming) [<samp>(95da7)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: erichesse <[email protected]>
erichesse
referenced
this pull request
in robert-koch-institut/mex-model
Jul 9, 2024
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [pdm-backend](https://togithub.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://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://togithub.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://togithub.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://togithub.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://togithub.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://togithub.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://togithub.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://togithub.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://togithub.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://togithub.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://togithub.com/frostming) [<samp>(95da7)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: erichesse <[email protected]>
cutoffthetop
referenced
this pull request
in robert-koch-institut/mex-editor
Jul 12, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pdm-backend](https://togithub.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://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.2) [Compare Source](https://togithub.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://togithub.com/frostming) [<samp>(9466c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/9466c66) - Use compatible is_relative_to for Python 3.8 - by [@​frostming](https://togithub.com/frostming) [<samp>(30c46)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/30c4614) ##### 📝 Documentation - Update the logo url - by [@​frostming](https://togithub.com/frostming) [<samp>(fd5ef)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/fd5eff3) ##### [View changes on GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.3.1...2.3.2) ### [`v2.3.1`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.1) [Compare Source](https://togithub.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://togithub.com/huxuan) in [https://github.com/pdm-project/pdm-backend/issues/237](https://togithub.com/pdm-project/pdm-backend/issues/237) [<samp>(d6fec)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d6feccf) - Treat PDM_BUILD_SCM_VERSION empty string as unset - by [@​ryukinix](https://togithub.com/ryukinix) in [https://github.com/pdm-project/pdm-backend/issues/238](https://togithub.com/pdm-project/pdm-backend/issues/238) [<samp>(596f1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/596f1dc) - Honor the current working directory when importing pdm_build.py Close [#​245](https://togithub.com/pdm-project/pdm-backend/issues/245) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/245](https://togithub.com/pdm-project/pdm-backend/issues/245) [<samp>(ba98c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/ba98c85) - Errors when using the `editables` backend with the `includes` field. Fixes [#​242](https://togithub.com/pdm-project/pdm-backend/issues/242) - by [@​frostming](https://togithub.com/frostming) in [https://github.com/pdm-project/pdm-backend/issues/242](https://togithub.com/pdm-project/pdm-backend/issues/242) [<samp>(59396)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/59396e3) - Vendor editables - by [@​frostming](https://togithub.com/frostming) [<samp>(95da7)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/95da73a) ##### [View changes on GitHub](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The error happens when running
pdm install
in a git repo whilegit
command does not work as expected buthg
command is available.For my case, the permission of
.git
directory is invalid when I try to mount the working directory into a container and then the error happen. Though it is not a critical error, it might be better to handle it well.traceback for the error:
GitHub workflow run: https://github.com/huxuan/ss-python/actions/runs/8983209042/job/24672464323