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

Add tag filter #225

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Add tag filter #225

merged 1 commit into from
Apr 30, 2024

Conversation

mezuzza
Copy link
Contributor

@mezuzza mezuzza commented Apr 1, 2024

This PR adds tag_filter as a metadata property which can be used to filter the
set of tags examined for versioning the project. More details can be found in #219.

The git changes in this PR are straightforward. The hg changes require a bit more context.

In order to tags, it was necessary to use hg log as it provides a --template argument to use
with the latesttag function. Technically hg's regex is a python style regex, but I didn't think
it prudent to depend on that exact implementation detail. Instead, I refactored the implementation
slightly so that we use hg log to extract the current commit and hg id is relegated to telling us
if the working tree is dirty.

This is a PR that's stacked on top of #224. For easy of review, I suggest you look at only the
most recent commit. All other changes are captured in #224.

Resolves #219

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for pdm-backend-docs ready!

Name Link
🔨 Latest commit ea2afd0
🔍 Latest deploy log https://app.netlify.com/sites/pdm-backend-docs/deploys/662fec35e96dc80008a2077e
😎 Deploy Preview https://deploy-preview-225--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.

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 1, 2024

This is still missing tests. I thought I'd ask for an early review of the draft just to align on the approach.

I'll finish the tests next week and submit for review.

Copy link
Contributor

@frostming frostming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I am okay with the implementation, please don't stack the PR with other changes not related to this PR.

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 15, 2024

Sure, I'm used to stacking changes and submitting only once the parent has been submitted. I'll pull the changes out this week and separate them.

Also, sorry for the delay, but I've been pretty busy and hadn't the time to get to this. Will do so in the next couple days.

@mezuzza mezuzza marked this pull request as ready for review April 21, 2024 06:53
@mezuzza mezuzza requested a review from frostming April 21, 2024 06:55
@frostming
Copy link
Contributor

You forgot to declare pytest_lazyfixture as a dependency

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 22, 2024

I'm confused. It's a part of the test dependencies in the pyproject.toml. Does it need to be elsewhere?

image

@frostming
Copy link
Contributor

frostming commented Apr 23, 2024

I'm confused. It's a part of the test dependencies in the pyproject.toml. Does it need to be elsewhere?

image

According to the README, you don't need to import anything, as it can be accessed via pytest.lazy_fixture

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 24, 2024

Just tried that. It unfortunately fails pyright as pytest.lazy_fixture is parsed as an object. I'm not sure if it would pass mypy or pyre.

Do you care about the type checker and do you have a preference here? I'd recommend just leaving it as is since it will reduce type issues in the future compared to pytest.lazy_fixture.

@frostming
Copy link
Contributor

Do you care about the type checker and do you have a preference here? I'd recommend just leaving it as is since it will reduce type issues in the future compared to pytest.lazy_fixture.

As long as the CI statuses are all green I am ok

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 24, 2024

Done. Added a quick assertion, but otherwise it should be good.

@frostming
Copy link
Contributor

Please rebase main branch

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 25, 2024

Done

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 26, 2024

I noticed that the tests were failing so I took a look. Turns out that they were failing because of two issues.

  1. pytest.lazy_fixture wasn't working, so I swapped back to the explicit import.
  2. ZoneInfo wasn't available until python 3.9, so 3.8 was failing. This has been fixed by using dateutil for the time zone.

@mezuzza
Copy link
Contributor Author

mezuzza commented Apr 29, 2024

Removed the pytest-lazy-fixture dependency and fixed the CI to install hg for use in testing. All the tests are passing now.

@frostming frostming merged commit 9915cb6 into pdm-project:main Apr 30, 2024
26 checks passed
cutoffthetop referenced this pull request in robert-koch-institut/mex-model May 14, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pdm-backend](https://togithub.com/pdm-project/pdm-backend) |
build-system.requires | minor | `==2.1.8` -> `==2.3.0` |

---

### Release Notes

<details>
<summary>pdm-project/pdm-backend (pdm-backend)</summary>

###
[`v2.3.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

#####    🚀 Features

- Remove support for python 3.7 and older  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/232](https://togithub.com/pdm-project/pdm-backend/issues/232)
[<samp>(32e3a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/32e3a33)
- Add `tag_filter` as a way to pre-filter tags  -  by
[@&#8203;mezuzza](https://togithub.com/mezuzza) in
[https://github.com/pdm-project/pdm-backend/issues/225](https://togithub.com/pdm-project/pdm-backend/issues/225)
[<samp>(9915c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/9915cb6)

#####    🐞 Bug Fixes

- Error about dynamic project version  -  by
[@&#8203;cntvc](https://togithub.com/cntvc) in
[https://github.com/pdm-project/pdm-backend/issues/235](https://togithub.com/pdm-project/pdm-backend/issues/235)
[<samp>(146b1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/146b170)
- **ci**: CI matrix on macos latest  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(080b4)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/080b4bc)

#####    💻 Chores

- Use `Literal` type for valid target values  -  by
[@&#8203;DetachHead](https://togithub.com/DetachHead),
**pre-commit-ci\[bot]** and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/227](https://togithub.com/pdm-project/pdm-backend/issues/227)
[<samp>(a210b)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/a210b72)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

###
[`v2.2.1`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.1)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

#####    🚀 Features

- Add parameter `--build-number` to wheel builder  -  by
[@&#8203;0xfabioo](https://togithub.com/0xfabioo) and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/229](https://togithub.com/pdm-project/pdm-backend/issues/229)
[<samp>(d7d15)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d7d15fb)
- Bump pyproject-metadata to 0.8.0  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/231](https://togithub.com/pdm-project/pdm-backend/issues/231)
[<samp>(5f538)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/5f53873)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

###
[`v2.2.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

#####    🚀 Features

- Don't add '+editable' to the editable version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(e6fcd)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/e6fcd5f)
- Custom version format for source="scm"  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/217](https://togithub.com/pdm-project/pdm-backend/issues/217)
[<samp>(4f20c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/4f20cfd)
- Fallback_version config for scm version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(8b8ab)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8b8ab28)
- **vendor**: Update packaging to 24.0  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(81836)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8183604)
- **vendors**: Update pyproject-metadata to 0.8.0rc1  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/228](https://togithub.com/pdm-project/pdm-backend/issues/228)
[<samp>(6b260)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/6b2601e)

#####    🐞 Bug Fixes

- Change to datetime.now(tz=UTC)  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(74f7a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/74f7a61)

#####    📝 Documentation

- Add missing dep  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(feb9f)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/feb9fc7)

#####    💻 Chores

- Update lockfile to the latest version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(940d1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/940d129)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: Nicolas Drebenstedt <[email protected]>
cutoffthetop referenced this pull request in robert-koch-institut/mex-extractors May 14, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pdm-backend](https://togithub.com/pdm-project/pdm-backend) |
build-system.requires | minor | `==2.1.8` -> `==2.3.0` |

---

### Release Notes

<details>
<summary>pdm-project/pdm-backend (pdm-backend)</summary>

###
[`v2.3.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

#####    🚀 Features

- Remove support for python 3.7 and older  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/232](https://togithub.com/pdm-project/pdm-backend/issues/232)
[<samp>(32e3a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/32e3a33)
- Add `tag_filter` as a way to pre-filter tags  -  by
[@&#8203;mezuzza](https://togithub.com/mezuzza) in
[https://github.com/pdm-project/pdm-backend/issues/225](https://togithub.com/pdm-project/pdm-backend/issues/225)
[<samp>(9915c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/9915cb6)

#####    🐞 Bug Fixes

- Error about dynamic project version  -  by
[@&#8203;cntvc](https://togithub.com/cntvc) in
[https://github.com/pdm-project/pdm-backend/issues/235](https://togithub.com/pdm-project/pdm-backend/issues/235)
[<samp>(146b1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/146b170)
- **ci**: CI matrix on macos latest  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(080b4)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/080b4bc)

#####    💻 Chores

- Use `Literal` type for valid target values  -  by
[@&#8203;DetachHead](https://togithub.com/DetachHead),
**pre-commit-ci\[bot]** and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/227](https://togithub.com/pdm-project/pdm-backend/issues/227)
[<samp>(a210b)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/a210b72)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

###
[`v2.2.1`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.1)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

#####    🚀 Features

- Add parameter `--build-number` to wheel builder  -  by
[@&#8203;0xfabioo](https://togithub.com/0xfabioo) and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/229](https://togithub.com/pdm-project/pdm-backend/issues/229)
[<samp>(d7d15)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d7d15fb)
- Bump pyproject-metadata to 0.8.0  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/231](https://togithub.com/pdm-project/pdm-backend/issues/231)
[<samp>(5f538)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/5f53873)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

###
[`v2.2.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

#####    🚀 Features

- Don't add '+editable' to the editable version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(e6fcd)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/e6fcd5f)
- Custom version format for source="scm"  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/217](https://togithub.com/pdm-project/pdm-backend/issues/217)
[<samp>(4f20c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/4f20cfd)
- Fallback_version config for scm version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(8b8ab)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8b8ab28)
- **vendor**: Update packaging to 24.0  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(81836)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8183604)
- **vendors**: Update pyproject-metadata to 0.8.0rc1  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/228](https://togithub.com/pdm-project/pdm-backend/issues/228)
[<samp>(6b260)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/6b2601e)

#####    🐞 Bug Fixes

- Change to datetime.now(tz=UTC)  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(74f7a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/74f7a61)

#####    📝 Documentation

- Add missing dep  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(feb9f)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/feb9fc7)

#####    💻 Chores

- Update lockfile to the latest version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(940d1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/940d129)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM1OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
cutoffthetop referenced this pull request in robert-koch-institut/mex-common May 14, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pdm-backend](https://togithub.com/pdm-project/pdm-backend) |
build-system.requires | minor | `==2.1.8` -> `==2.3.0` |

---

### Release Notes

<details>
<summary>pdm-project/pdm-backend (pdm-backend)</summary>

###
[`v2.3.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

#####    🚀 Features

- Remove support for python 3.7 and older  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/232](https://togithub.com/pdm-project/pdm-backend/issues/232)
[<samp>(32e3a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/32e3a33)
- Add `tag_filter` as a way to pre-filter tags  -  by
[@&#8203;mezuzza](https://togithub.com/mezuzza) in
[https://github.com/pdm-project/pdm-backend/issues/225](https://togithub.com/pdm-project/pdm-backend/issues/225)
[<samp>(9915c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/9915cb6)

#####    🐞 Bug Fixes

- Error about dynamic project version  -  by
[@&#8203;cntvc](https://togithub.com/cntvc) in
[https://github.com/pdm-project/pdm-backend/issues/235](https://togithub.com/pdm-project/pdm-backend/issues/235)
[<samp>(146b1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/146b170)
- **ci**: CI matrix on macos latest  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(080b4)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/080b4bc)

#####    💻 Chores

- Use `Literal` type for valid target values  -  by
[@&#8203;DetachHead](https://togithub.com/DetachHead),
**pre-commit-ci\[bot]** and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/227](https://togithub.com/pdm-project/pdm-backend/issues/227)
[<samp>(a210b)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/a210b72)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

###
[`v2.2.1`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.1)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

#####    🚀 Features

- Add parameter `--build-number` to wheel builder  -  by
[@&#8203;0xfabioo](https://togithub.com/0xfabioo) and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/229](https://togithub.com/pdm-project/pdm-backend/issues/229)
[<samp>(d7d15)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d7d15fb)
- Bump pyproject-metadata to 0.8.0  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/231](https://togithub.com/pdm-project/pdm-backend/issues/231)
[<samp>(5f538)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/5f53873)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

###
[`v2.2.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

#####    🚀 Features

- Don't add '+editable' to the editable version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(e6fcd)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/e6fcd5f)
- Custom version format for source="scm"  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/217](https://togithub.com/pdm-project/pdm-backend/issues/217)
[<samp>(4f20c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/4f20cfd)
- Fallback_version config for scm version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(8b8ab)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8b8ab28)
- **vendor**: Update packaging to 24.0  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(81836)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8183604)
- **vendors**: Update pyproject-metadata to 0.8.0rc1  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/228](https://togithub.com/pdm-project/pdm-backend/issues/228)
[<samp>(6b260)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/6b2601e)

#####    🐞 Bug Fixes

- Change to datetime.now(tz=UTC)  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(74f7a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/74f7a61)

#####    📝 Documentation

- Add missing dep  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(feb9f)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/feb9fc7)

#####    💻 Chores

- Update lockfile to the latest version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(940d1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/940d129)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: Nicolas Drebenstedt <[email protected]>
cutoffthetop referenced this pull request in robert-koch-institut/mex-drop May 15, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pdm-backend](https://togithub.com/pdm-project/pdm-backend) |
build-system.requires | minor | `==2.1.8` -> `==2.3.0` |

---

### Release Notes

<details>
<summary>pdm-project/pdm-backend (pdm-backend)</summary>

###
[`v2.3.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.3.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

#####    🚀 Features

- Remove support for python 3.7 and older  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/232](https://togithub.com/pdm-project/pdm-backend/issues/232)
[<samp>(32e3a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/32e3a33)
- Add `tag_filter` as a way to pre-filter tags  -  by
[@&#8203;mezuzza](https://togithub.com/mezuzza) in
[https://github.com/pdm-project/pdm-backend/issues/225](https://togithub.com/pdm-project/pdm-backend/issues/225)
[<samp>(9915c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/9915cb6)

#####    🐞 Bug Fixes

- Error about dynamic project version  -  by
[@&#8203;cntvc](https://togithub.com/cntvc) in
[https://github.com/pdm-project/pdm-backend/issues/235](https://togithub.com/pdm-project/pdm-backend/issues/235)
[<samp>(146b1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/146b170)
- **ci**: CI matrix on macos latest  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(080b4)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/080b4bc)

#####    💻 Chores

- Use `Literal` type for valid target values  -  by
[@&#8203;DetachHead](https://togithub.com/DetachHead),
**pre-commit-ci\[bot]** and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/227](https://togithub.com/pdm-project/pdm-backend/issues/227)
[<samp>(a210b)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/a210b72)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.1...2.3.0)

###
[`v2.2.1`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.1)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

#####    🚀 Features

- Add parameter `--build-number` to wheel builder  -  by
[@&#8203;0xfabioo](https://togithub.com/0xfabioo) and **Frost Ming** in
[https://github.com/pdm-project/pdm-backend/issues/229](https://togithub.com/pdm-project/pdm-backend/issues/229)
[<samp>(d7d15)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/d7d15fb)
- Bump pyproject-metadata to 0.8.0  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/231](https://togithub.com/pdm-project/pdm-backend/issues/231)
[<samp>(5f538)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/5f53873)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.2.0...2.2.1)

###
[`v2.2.0`](https://togithub.com/pdm-project/pdm-backend/releases/tag/2.2.0)

[Compare
Source](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

#####    🚀 Features

- Don't add '+editable' to the editable version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(e6fcd)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/e6fcd5f)
- Custom version format for source="scm"  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/217](https://togithub.com/pdm-project/pdm-backend/issues/217)
[<samp>(4f20c)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/4f20cfd)
- Fallback_version config for scm version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(8b8ab)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8b8ab28)
- **vendor**: Update packaging to 24.0  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(81836)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/8183604)
- **vendors**: Update pyproject-metadata to 0.8.0rc1  -  by
[@&#8203;frostming](https://togithub.com/frostming) in
[https://github.com/pdm-project/pdm-backend/issues/228](https://togithub.com/pdm-project/pdm-backend/issues/228)
[<samp>(6b260)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/6b2601e)

#####    🐞 Bug Fixes

- Change to datetime.now(tz=UTC)  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(74f7a)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/74f7a61)

#####    📝 Documentation

- Add missing dep  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(feb9f)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/feb9fc7)

#####    💻 Chores

- Update lockfile to the latest version  -  by
[@&#8203;frostming](https://togithub.com/frostming)
[<samp>(940d1)</samp>](https://togithub.com/pdm-project/pdm-backend/commit/940d129)

#####     [View changes on
GitHub](https://togithub.com/pdm-project/pdm-backend/compare/2.1.8...2.2.0)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
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.

Allow filtering tags when using SCM to determine the version
2 participants