Skip to content

Commit c05bfbb

Browse files
committed
Update project metadata for PEP 639
1 parent 34e8c7c commit c05bfbb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
echo debug build; python -c 'import sysconfig; print(bool(sysconfig.get_config_var("Py_DEBUG")))'
168168
echo os.cpu_count; python -c 'import os; print(os.cpu_count())'
169169
echo os.sched_getaffinity; python -c 'import os; print(len(getattr(os, "sched_getaffinity", lambda *args: [])(0)))'
170-
pip install setuptools==75.1.0 tox==4.21.2
170+
pip install tox==4.21.2
171171
172172
- name: Compiled with mypyc
173173
if: ${{ matrix.test_mypyc }}
@@ -230,7 +230,7 @@ jobs:
230230
default: 3.11.1
231231
command: python -c "import platform; print(f'{platform.architecture()=} {platform.machine()=}');"
232232
- name: Install tox
233-
run: pip install setuptools==75.1.0 tox==4.21.2
233+
run: pip install tox==4.21.2
234234
- name: Setup tox environment
235235
run: tox run -e py --notest
236236
- name: Test

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
# NOTE: this needs to be kept in sync with mypy-requirements.txt
44
# and build-requirements.txt, because those are both needed for
55
# self-typechecking :/
6-
"setuptools >= 75.1.0",
6+
"setuptools >= 77.0.1",
77
# the following is from mypy-requirements.txt/setup.py
88
"typing_extensions>=4.6.0",
99
"mypy_extensions>=1.0.0",
@@ -30,12 +30,12 @@ features such as type inference, gradual typing, generics and union
3030
types.
3131
""", content-type = "text/x-rst"}
3232
authors = [{name = "Jukka Lehtosalo", email = "[email protected]"}]
33-
license = {text = "MIT"}
33+
license = "MIT"
34+
license-files = ["LICENSE", "mypy/typeshed/LICENSE"]
3435
classifiers = [
3536
"Development Status :: 5 - Production/Stable",
3637
"Environment :: Console",
3738
"Intended Audience :: Developers",
38-
"License :: OSI Approved :: MIT License",
3939
"Programming Language :: Python :: 3",
4040
"Programming Language :: Python :: 3.9",
4141
"Programming Language :: Python :: 3.10",

test-requirements.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ psutil>=4.0
1010
pytest>=8.1.0
1111
pytest-xdist>=1.34.0
1212
pytest-cov>=2.10.0
13-
setuptools>=75.1.0
13+
setuptools>=77.0.1
1414
tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.9
1515
pre_commit>=3.5.0

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ virtualenv==20.29.1
6363
# via pre-commit
6464

6565
# The following packages are considered to be unsafe in a requirements file:
66-
setuptools==75.8.0
66+
setuptools==77.0.1
6767
# via -r test-requirements.in

0 commit comments

Comments
 (0)