Skip to content

Commit

Permalink
Pin importlib_metadata to version 7.2.1 (spacetelescope#2925)
Browse files Browse the repository at this point in the history
* Do not use importlib_metadata 8.0.0 for twine stuff

Co-authored-by: P. L. Lim <[email protected]>
  • Loading branch information
javerbukh and pllim authored Jun 25, 2024
1 parent 8b954eb commit 14f0e29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: '3.10'

- name: Install python-build and twine
run: python -m pip install build "twine>=3.3"
run: python -m pip install build "twine>=3.3" "importlib_metadata!=8.0.0"

- name: Build package
run: python -m build --sdist --wheel .
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ description = PEP 517
deps =
build
twine
importlib_metadata!=8.0.0
commands =
python -m build --sdist .
twine check dist/* --strict

0 comments on commit 14f0e29

Please sign in to comment.