Skip to content

Commit

Permalink
setuptools 65.6.1 and 65.6.2 are broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauszus committed Nov 23, 2022
1 parent 5ce42be commit a7a4273
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
python-version: 3.9
- name: Install dependencies
run: pip install -U pip setuptools wheel
run: pip install -U pip setuptools!=65.6.1,!=65.6.2 wheel
- name: Build sdist
run: python setup.py sdist
- name: Upload sdist as artifact
Expand All @@ -33,7 +33,7 @@ jobs:
with:
python-version: 3.9
- name: Update pip
run: pip install -U pip setuptools wheel
run: pip install -U pip setuptools!=65.6.1,!=65.6.2 wheel
- name: Lint with flake8
run: |
# Stop the build if there are Python syntax errors or undefined names
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
path: pyblhost
- name: Publish PyPI
run: |
pip install -U pip setuptools wheel
pip install -U pip setuptools!=65.6.1,!=65.6.2 wheel
pip install -U twine
twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} pyblhost/*
- name: Publish to Github Release
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=40.8.0",
"setuptools>=40.8.0,!=65.6.1,!=65.6.2",
"wheel",
]
build-backend = "setuptools.build_meta"

2 comments on commit a7a4273

@abravalheri
Copy link

Choose a reason for hiding this comment

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

I also believe that if you use a list of classifiers instead of a tuple, the code path that uses the warning will not trigger.

@Lauszus
Copy link
Owner Author

Choose a reason for hiding this comment

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

@abravalheri okay thanks!

Please sign in to comment.