Skip to content
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

Treat PDM_BUILD_SCM_VERSION empty string as unset #238

Merged
merged 1 commit into from
May 28, 2024
Merged

Treat PDM_BUILD_SCM_VERSION empty string as unset #238

merged 1 commit into from
May 28, 2024

Conversation

ryukinix
Copy link
Contributor

@ryukinix ryukinix commented May 14, 2024

Doesn't makes sense to have a empty version, make easier to treat PDM_BUILD_SCM_VERSION as empty string when you don't have tag information, and instead, use fallback_version.

Screenshot from 2024-05-14 12-19-19

image

Doesn't makes sense to have a empty version, make easier to treat PDM_BUILD_SCM_VERSION as empty string when you don't have tag information, and instead, use fallback_version.
Copy link

netlify bot commented May 14, 2024

Deploy Preview for pdm-backend-docs ready!

Name Link
🔨 Latest commit 98676d7
🔍 Latest deploy log https://app.netlify.com/sites/pdm-backend-docs/deploys/6643816a1af90e000870e128
😎 Deploy Preview https://deploy-preview-238--pdm-backend-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@frostming frostming merged commit 596f1dc into pdm-project:main May 28, 2024
5 checks passed
@ryukinix ryukinix deleted the patch-1 branch May 28, 2024 04:17
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://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
[@&#8203;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
[@&#8203;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
[#&#8203;245](https://github.com/pdm-project/pdm-backend/issues/245)
 -  by [@&#8203;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
[#&#8203;242](https://github.com/pdm-project/pdm-backend/issues/242)
 -  by [@&#8203;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
[@&#8203;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 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://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
[@&#8203;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
[@&#8203;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
[#&#8203;245](https://github.com/pdm-project/pdm-backend/issues/245)
 -  by [@&#8203;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
[#&#8203;242](https://github.com/pdm-project/pdm-backend/issues/242)
 -  by [@&#8203;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
[@&#8203;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 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://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
[@&#8203;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
[@&#8203;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
[#&#8203;245](https://github.com/pdm-project/pdm-backend/issues/245)
 -  by [@&#8203;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
[#&#8203;242](https://github.com/pdm-project/pdm-backend/issues/242)
 -  by [@&#8203;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
[@&#8203;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 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://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
[@&#8203;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
[@&#8203;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
[#&#8203;245](https://github.com/pdm-project/pdm-backend/issues/245)
 -  by [@&#8203;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
[#&#8203;242](https://github.com/pdm-project/pdm-backend/issues/242)
 -  by [@&#8203;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
[@&#8203;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 pull request 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 [@&#8203;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
[@&#8203;frostming](https://github.com/frostming)
[<samp>(30c46)</samp>](https://github.com/pdm-project/pdm-backend/commit/30c4614)

#####    📝 Documentation

- Update the logo url  -  by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[#&#8203;245](https://github.com/pdm-project/pdm-backend/issues/245)
 -  by [@&#8203;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
[#&#8203;242](https://github.com/pdm-project/pdm-backend/issues/242)
 -  by [@&#8203;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
[@&#8203;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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants