Skip to content

Commit

Permalink
changed: unpin build dependencies (#956)
Browse files Browse the repository at this point in the history
* changed: unpin build dependencies

* improve changelog wording

* rephrase changelog once more
  • Loading branch information
jsuchan-reef authored Nov 21, 2023
1 parent e34569f commit 88a0305
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/952.infrastructure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure CI checks Python package compatibility with latest setuptools.
9 changes: 7 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@
'backoff==2.1.2',
'more_itertools==8.13.0',
]
REQUIREMENTS_BUILD = ['setuptools>=20.2']

# not pinned to test the latest version works
REQUIREMENTS_BUILD = [
'setuptools',
]

REQUIREMENTS_BUNDLE = [
'pyinstaller~=5.13',
'pyinstaller-hooks-contrib>=2023.6',
Expand Down Expand Up @@ -244,7 +249,7 @@ def cover(session):
def build(session):
"""Build the distribution."""
# TODO: consider using wheel as well
session.run('pip', 'install', *REQUIREMENTS_BUILD, **run_kwargs)
session.run('pip', 'install', '-U', *REQUIREMENTS_BUILD, **run_kwargs)
session.run('nox', '-s', 'dump_license', '-fb', 'venv', **run_kwargs)
session.run('python', 'setup.py', 'check', '--metadata', '--strict', **run_kwargs)
session.run('rm', '-rf', 'build', 'dist', 'b2.egg-info', external=True, **run_kwargs)
Expand Down

0 comments on commit 88a0305

Please sign in to comment.