Commit Graph

509 Commits

Author SHA1 Message Date
pre-commit-ci[bot] 389bde2971
[pre-commit.ci] pre-commit autoupdate (#447)
<!--pre-commit.ci start-->
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.31.0 →
0.31.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.0...0.31.1)
- [github.com/codespell-project/codespell: v2.4.0 →
v2.4.1](https://github.com/codespell-project/codespell/compare/v2.4.0...v2.4.1)
- [github.com/astral-sh/ruff-pre-commit: v0.9.3 →
v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-03 16:11:59 -08:00
Kemal Zebari cfa430bd60
Remove unused .gitignore rule (#446) 2025-02-02 06:32:22 -08:00
pre-commit-ci[bot] 661ddcfeaa
[pre-commit.ci] pre-commit autoupdate (#445) 2025-01-27 12:45:16 -08:00
Kemal Zebari 99cdda2335
Drop support for python 3.8 (#444)
Drops support for python 3.8 since it is EOL. The code refactoring is
due to ruff's formatting rules for 3.9.
2025-01-26 13:40:51 -08:00
Kemal Zebari 8218e8cb33
Migrate tox config from ini to toml (#443)
This also replaces our tox-ini-fmt pre-commit hook with tox-toml-fmt.
2025-01-26 08:57:15 -08:00
dependabot[bot] 93ea72dbbc
Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#442)
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 07:34:16 -08:00
pre-commit-ci[bot] e191b67210
[pre-commit.ci] pre-commit autoupdate (#441)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.1 →
v0.9.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.1...v0.9.2)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-21 08:09:10 -08:00
pre-commit-ci[bot] 4919bb80b1
[pre-commit.ci] pre-commit autoupdate (#440)
<!--pre-commit.ci start-->
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 →
0.31.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.31.0)
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 →
v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.1)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 10:08:07 -08:00
pre-commit-ci[bot] d1463fddcc
[pre-commit.ci] pre-commit autoupdate (#439)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.4 →
v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.6)
<!--pre-commit.ci end-->
2025-01-06 09:45:22 -08:00
pre-commit-ci[bot] fa45c7d7ad
[pre-commit.ci] pre-commit autoupdate (#437)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 →
v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4)
<!--pre-commit.ci end-->
2024-12-26 20:17:34 -08:00
dependabot[bot] c76d746115
Bump astral-sh/setup-uv from 4 to 5 (#436)
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-26 20:17:06 -08:00
pre-commit-ci[bot] 6beedf5ed6
[pre-commit.ci] pre-commit autoupdate (#435) 2024-12-19 20:25:04 -08:00
dependabot[bot] d24c9a7549
Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#433) 2024-12-12 07:03:01 -08:00
pre-commit-ci[bot] e7d7e226d3
[pre-commit.ci] pre-commit autoupdate (#432)
<!--pre-commit.ci start-->
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.29.4 →
0.30.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.4...0.30.0)
- [github.com/astral-sh/ruff-pre-commit: v0.8.0 →
v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.2)
- [github.com/rbubley/mirrors-prettier: v3.3.3 →
v3.4.2](https://github.com/rbubley/mirrors-prettier/compare/v3.3.3...v3.4.2)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-09 17:42:42 -08:00
Kemal Zebari c31b641817
Implement --path argument (#429)
Resolves #408.

---------

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
2024-11-25 17:56:08 -08:00
pre-commit-ci[bot] 139677b30b
[pre-commit.ci] pre-commit autoupdate (#431)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.4 →
v0.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.0)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-25 09:24:58 -08:00
pre-commit-ci[bot] 85796bef3c
[pre-commit.ci] pre-commit autoupdate (#428)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 →
v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.7.4)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kemal Zebari <kemalzebra@gmail.com>
2024-11-25 08:26:02 -08:00
dependabot[bot] f9be6f3928
Bump astral-sh/setup-uv from 3 to 4 (#430)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 3
to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0 🌈 Fail when cache local path does not exist when trying to
cache</h2>
<h1>🚨 Breaking change 🚨</h1>
<p>By default, the action will now fail if caching is enabled but there
is nothing to upload (the uv cache directory does not exist).
If you want to ignore this, set the <code>ignore-nothing-to-cache</code>
input to <code>true</code>.</p>
<pre lang="yaml"><code>- name: Ignore nothing to cache
  uses: astral-sh/setup-uv@v3
  with:
    enable-cache: true
    ignore-nothing-to-cache: true
</code></pre>
<hr />
<p>In previous releases only an error got logged when saving the cache
failed. In most cases users did not realize something was wrong with
their config.</p>
<!-- raw HTML omitted -->
<h2>Changes</h2>
<h2>🚨 Breaking changes</h2>
<ul>
<li>Fail when cache local path does not exist when trying to cache <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li>
</ul>
<h2>🐛 Bug fixes</h2>
<ul>
<li>Fail when cache local path does not exist when trying to cache <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li>
<li>Remove working dir from cacheDependencyGlob error message <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/162">#162</a>)</li>
</ul>
<h2>📚 Documentation</h2>
<ul>
<li>Change some formulations in README.md <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li>
<li>Add comment to clarify process.exit(0) <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/161">#161</a>)</li>
</ul>
<h2>v3.2.4 🌈 Expand <code>~</code> tilde in input paths</h2>
<p>This release adds support for expanding the <code>~</code> character
to the user's home directory for the following inputs:</p>
<ul>
<li><code>cache-local-path</code></li>
<li><code>tool-dir</code></li>
<li><code>tool-bin-dir</code></li>
<li><code>cache-dependency-glob</code></li>
</ul>
<pre lang="yaml"><code>- name: Expand the tilde character
  uses: astral-sh/setup-uv@v3
  with:
    cache-local-path: &quot;~/path/to/cache&quot;
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d8db0a86d3"><code>d8db0a8</code></a>
Change some formulations in README.md (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li>
<li><a
href="ed171c292b"><code>ed171c2</code></a>
Fail when cache local path does not exist when trying to cache (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li>
<li><a
href="691a091485"><code>691a091</code></a>
Remove working dir from cacheDependencyGlob error message (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/162">#162</a>)</li>
<li><a
href="9b71657bb2"><code>9b71657</code></a>
Add comment to clarify process.exit(0) (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/161">#161</a>)</li>
<li>See full diff in <a
href="https://github.com/astral-sh/setup-uv/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astral-sh/setup-uv&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 08:25:58 -08:00
pre-commit-ci[bot] 45b54597e4
[pre-commit.ci] pre-commit autoupdate (#427)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.2 →
v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.7.3)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-11 09:47:00 -08:00
dependabot[bot] ec75d56577
Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 (#426)
Bumps
[pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)
from 1.11.0 to 1.12.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's
releases</a>.</em></p>
<blockquote>
<h2>v1.12.2</h2>
<h2>🐛 What's Fixed</h2>
<p>The fix for signing legacy zip sdists turned out to be incomplete, so
<a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
href="https://github.com/sponsors/woodruffw">💰</a> promptly produced
another follow-up that updated <code>pypi-attestations</code> from
v0.0.13 to v0.0.15 in <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297">#297</a>.
This is the only change since the previous release.</p>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2">https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz</code></a>
<a href="https://stand-with-ukraine.pp.ua">🇺🇦</a></p>
<h2>v1.12.1</h2>
<h2>🐛 What's Fixed</h2>
<p>Version v1.12.0 hit several rare corner cases we never considered
fully supported, and this release fixes a few of those.
In <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/294">#294</a>,
<a href="https://github.com/webknjaz"><code>@​webknjaz</code></a><a
href="https://github.com/sponsors/webknjaz">💰</a> improved the
self-hosted runner experience by pre-installing Python if it's not
there, and with <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/293">#293</a>
the ability to use the action on GitHub Enterprise instances has been
restored. The latter should've also fixed the ability to invoke <a
href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a>
from nested in-repo composite actions — another exotic use-case that was
never tested in our CI.
<a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
href="https://github.com/sponsors/woodruffw">💰</a> also managed to
squeeze in a last-minute fix for detecting legacy <code>.zip</code>
sdists while producing attestations via <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/295">#295</a>.</p>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1">https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz</code></a>
<a href="https://stand-with-ukraine.pp.ua">🇺🇦</a></p>
<p><strong>🙏 Huge Thanks</strong> to all the bug reporters for posting
the logs, helping inspect the problems and verify the regression
fixes!</p>
<h2>v1.12.0</h2>
<h2>️ Why Should You Update?</h2>
<p>This is a minor version bump, but it does not add any new user-facing
interfaces. Still, I felt like it should not be a patch-release: this
update brings <em>significant changes</em> to the action invocation and
internal release process.</p>
<p>Previously, each invocation of <a
href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a>
required building a container image in the invoking CI job. This was
inefficient and added about 30 seconds to the publishing jobs at their
startup just to build the container.</p>
<p>I wanted to improve this for over three years (<a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58">#58</a>)
and a little over half a year ago <a
href="https://github.com/br3ndonland"><code>@​br3ndonland</code></a><a
href="https://github.com/sponsors/br3ndonland">💰</a> stepped up and
offered a very comprehensive solution to the limitation I was hoping to
overcome: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>.</p>
<p>Going forward, I'm going to pre-build per-version containers prior to
cutting each release. And the action invocations will just pull the
image from GitHub Container registry.</p>
<blockquote>
<p>[!CAUTION]
Known quirks:</p>
<ul>
<li>This seems to not work on self-hosted runners without a
<code>python</code> executable: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/289">#289</a>.
The workaround could be installing it prior to running the action.</li>
<li><del>Pinning to commit hashes does not work: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/290">#290</a>.
Workaround: postpone updating until it's fixed or switch to Git tags for
now. Subscribe to that issue to follow the progress.</del> <em>UPD:</em>
This was an issue during the first 12 hours post release and it has been
addressed upstream by publishing a commit SHA-tagged image for the
release on Nov 12, 2024 at 10:27 UTC+1.</li>
<li>Calling <code>pypi-publish</code> from another nested repo-local
composite action might be breaking file paths: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/291">#291</a>.
Workaround: postpone updating until it's fixed. Subscribe to that issue
to follow the progress.</li>
<li>Running within GitHub Enterprise fails on the action repo clone: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/292">#292</a>.
Workaround: postpone updating until it's fixed. Subscribe to that issue
to follow the progress.</li>
</ul>
</blockquote>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz
🇺🇦</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="15c56dba36"><code>15c56db</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297">#297</a>
from trail-of-forks/ww/bump-pypi-attestations</li>
<li><a
href="fe8d1484ba"><code>fe8d148</code></a>
requirements: bump pypi-attestations to 0.0.15</li>
<li><a
href="1f5d4ec244"><code>1f5d4ec</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/295">#295</a>
from trail-of-forks/ww/fix-sdist-collection</li>
<li><a
href="fec2f0c0ce"><code>fec2f0c</code></a>
attestations: collect *.zip sdists as well</li>
<li><a
href="a8b73a6d88"><code>a8b73a6</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/294">#294</a>
from webknjaz/bugfixes/optional-python</li>
<li><a
href="9b4dfb0c84"><code>9b4dfb0</code></a>
 Pre-install Python if there's none</li>
<li><a
href="0a87186d5f"><code>0a87186</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/293">#293</a>
from webknjaz/bugfixes/uncheckout-intermediate-action</li>
<li><a
href="dfcfeca43e"><code>dfcfeca</code></a>
🧪 Use prefetched action to make trampoline</li>
<li><a
href="0d02f372c3"><code>0d02f37</code></a>
📝💅 Update the CI/CD badge in README</li>
<li><a
href="61da13deb5"><code>61da13d</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>
from br3ndonland/ghcr</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pypa/gh-action-pypi-publish&package-manager=github_actions&previous-version=1.11.0&new-version=1.12.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-07 09:29:26 -08:00
pre-commit-ci[bot] 733d19628a
[pre-commit.ci] pre-commit autoupdate (#424)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-04 17:17:18 -08:00
dependabot[bot] 05e3aaa8d7
Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#423)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 10:04:23 -07:00
pre-commit-ci[bot] 1d20129940
[pre-commit.ci] pre-commit autoupdate (#422)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-30 08:03:00 -07:00
pre-commit-ci[bot] 4768464512
[pre-commit.ci] pre-commit autoupdate (#421)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-21 13:34:39 -07:00
pre-commit-ci[bot] 34f8b5fbaa
[pre-commit.ci] pre-commit autoupdate (#420)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-14 10:39:58 -07:00
pre-commit-ci[bot] c90c359e76
[pre-commit.ci] pre-commit autoupdate (#418)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-07 11:48:39 -07:00
dependabot[bot] 6686a176a6
Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#417) 2024-10-04 11:42:09 -07:00
pre-commit-ci[bot] aa0535b363
[pre-commit.ci] pre-commit autoupdate (#416)
<!--pre-commit.ci start-->
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.29.2 →
0.29.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.2...0.29.3)
- [github.com/astral-sh/ruff-pre-commit: v0.6.7 →
v0.6.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.7...v0.6.8)
<!--pre-commit.ci end-->
2024-09-30 11:22:24 -07:00
pre-commit-ci[bot] 8907f0042d
[pre-commit.ci] pre-commit autoupdate (#414)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-23 16:53:55 -07:00
dependabot[bot] ea1afdd2a9
Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 (#413)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 09:40:20 -07:00
Bernát Gábor 7b89e91422
Fix CI shield (#412) 2024-09-17 15:35:48 -07:00
Bernát Gábor b28a0ceb59
Improve the CI (#411) 2024-09-17 15:35:02 -07:00
pre-commit-ci[bot] f7f9f388e8
[pre-commit.ci] pre-commit autoupdate (#410)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 10:19:10 -07:00
pre-commit-ci[bot] 99b0b1272b
[pre-commit.ci] pre-commit autoupdate (#407)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-09 10:13:11 -07:00
Bernát Gábor f707afe360
Add 3.13 tag
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
2024-09-07 14:27:40 -07:00
Bernát Gábor 813a9d0a4c
Declare 3.13 support (#406) 2024-09-07 14:24:41 -07:00
pre-commit-ci[bot] d78bb60040
[pre-commit.ci] pre-commit autoupdate (#404)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-06 22:00:39 -07:00
Kemal Zebari bdeea39bf5
Move pip's frozen requirement API into a single module (#402) 2024-09-06 22:00:20 -07:00
dependabot[bot] e945c84710
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#405)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 21:56:12 -07:00
pre-commit-ci[bot] 6008496e8c
[pre-commit.ci] pre-commit autoupdate (#400)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.1 →
v0.6.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.1...v0.6.2)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-27 23:09:23 -07:00
pre-commit-ci[bot] 11aef4257e
[pre-commit.ci] pre-commit autoupdate (#399)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.7 →
v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1)
<!--pre-commit.ci end-->
2024-08-21 09:59:26 -07:00
pre-commit-ci[bot] 131707b4b2
[pre-commit.ci] pre-commit autoupdate (#398)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-13 15:02:15 -07:00
pre-commit-ci[bot] 6eb8d4b6c7
[pre-commit.ci] pre-commit autoupdate (#397)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kemal Zebari <kemalzebra@gmail.com>
2024-08-09 09:58:41 -07:00
pre-commit-ci[bot] 28ed57c8e9
[pre-commit.ci] pre-commit autoupdate (#396)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-24 13:02:07 -07:00
Kemal Zebari f0999f9aa8
Allow pre-releases when detecting version conflicts (#394)
Resolves #393.

This patch also removes unnecessary magic mock values from
test_package.py.
2024-07-11 22:45:39 -07:00
pre-commit-ci[bot] 02f4f2684a
[pre-commit.ci] pre-commit autoupdate (#392)
<!--pre-commit.ci start-->
updates:
- [github.com/tox-dev/pyproject-fmt: 2.1.3 →
2.1.4](https://github.com/tox-dev/pyproject-fmt/compare/2.1.3...2.1.4)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 →
v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-08 12:48:17 -07:00
Kemal Zebari 91188b3b94
Readd `# noqa: S603` to _detect_env to resolve Ruff error (#388)
Whoops, not sure why the pre-commit bot decided to remove this ignore
rule in the first place.
2024-07-04 11:23:37 -07:00
pre-commit-ci[bot] 6fb5619adc
[pre-commit.ci] pre-commit autoupdate (#387)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 →
v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-04 11:04:41 -07:00
Kemal Zebari 59de13e8f9
Use is_missing property in ReqPackage.is_conflicting() for DRYness (#385)
Just a small refactor in ReqPackage to keep things DRY.
2024-06-28 14:36:27 -07:00
Kemal Zebari 5eabebe114
Use `__contains__` to avoid `KeyError` with importlib_metadata==8.0.0 (#384)
We don't actually depend on the backport, but a pytest plugin that we
are using, pytest-console-scripts, does.

importlib_metadata==8.0.0 now raises a KeyError when we try to get
metadata that doesn't exist (where before it would return None).

When running the automated tests, we would fail because the backport
would for some reason take precedence over the stdlib. To resolve this,
the current impl is replaced with a __contains__() call.
2024-06-26 12:34:41 -07:00