diff --git a/.github/workflows/_crypt.yml b/.github/workflows/_crypt.yml index 3e7a69d..26fc812 100644 --- a/.github/workflows/_crypt.yml +++ b/.github/workflows/_crypt.yml @@ -97,9 +97,9 @@ jobs: strategy: matrix: platform: - - runner: macos-12 + - runner: macos-13 target: x86_64 - - runner: macos-14 + - runner: macos-15 target: aarch64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index abc54df..d8b8f95 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -30,7 +30,7 @@ jobs: id: get-folders run: | pip install -U pip -r requirements_test.txt - FOLDERS=$(python scripts/helper.py list-test-folders --exclude distutils) + FOLDERS=$(python scripts/helper.py list-test-folders --exclude distutils --exclude chunk) echo "folders: ${FOLDERS}" echo "folders=${FOLDERS}" >> $GITHUB_OUTPUT diff --git a/README.md b/README.md index 5c3d330..e1b2921 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ I know it might sound like more maintenance work, but it's not as bad as it seem It's not easy to tell users "We will deprecate this library. Please fork or go to find another library." I know it's not the most pleasant thing to do. Preparing a backup will be a bit more nice. Now telling "We will remove this library from standard library, but you can install it via PIP!" will be a lot easier. The only additional burden for users will be the Internet with SSL. -There could be one more step - though this is a rejected idea in PEP 594. If we can get users to install the old standard packages via PIP, we can also get them to install less core-language libraries as separatedly distributing first-party libraries. Libraries that have users but aren't necessarily standard libraries can be turned into non-standard libraries. +There could be one more step - though this is a rejected idea in PEP 594. If we can get users to install the old standard packages via PIP, we can also get them to install less core-language libraries as separately distributing first-party libraries. Libraries that have users but aren't necessarily standard libraries can be turned into non-standard libraries. I'm not sure if this is the best way, but it will give developers the option to choose whether or not to do. I really hope that finally Python developers could decide to remove even more batteries in future. @@ -69,11 +69,11 @@ The tests depend upon having [pyenv](https://github.com/pyenv/pyenv) installed a Where: * _MODULE_NAME_ is the name of directory in this repository, or `ALL` to run tests for all modules -* _PYTHON_VERSION_ is the major and minor number of a valid python version, seperated by a `.` +* _PYTHON_VERSION_ is the major and minor number of a valid python version, separated by a `.` For example: `python scripts/run_test.py aifc 3.13` Alternatively, if you prefer to run your tests inside a docker container, you can run: -`docker build . -f scripts/Dockerfile -t test && docker run -e MODULE_NAME=aifc -e PYTHON_VERSION=3.12 -t test` \ No newline at end of file +`docker build . -f scripts/Dockerfile -t test && docker run -e MODULE_NAME=aifc -e PYTHON_VERSION=3.12 -t test` diff --git a/aifc/MANIFEST.in b/aifc/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/aifc/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/asynchat/pyproject.toml b/asynchat/pyproject.toml index 92270f1..bc4d950 100644 --- a/asynchat/pyproject.toml +++ b/asynchat/pyproject.toml @@ -24,5 +24,5 @@ find = {include = ["asynchat*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/asyncore/pyproject.toml b/asyncore/pyproject.toml index d456a14..5b8f370 100644 --- a/asyncore/pyproject.toml +++ b/asyncore/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["asyncore*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/cgi/pyproject.toml b/cgi/pyproject.toml index d4c3a20..6298227 100644 --- a/cgi/pyproject.toml +++ b/cgi/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["cgi*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/cgitb/pyproject.toml b/cgitb/pyproject.toml index 9a67315..55b25ce 100644 --- a/cgitb/pyproject.toml +++ b/cgitb/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["cgitb*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/chunk/pyproject.toml b/chunk/pyproject.toml index 76e9133..fe1f134 100644 --- a/chunk/pyproject.toml +++ b/chunk/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["chunk*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/chunk/tests/__init__.py b/chunk/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/crypt/pyproject.toml b/crypt/pyproject.toml index 925a4e2..8555280 100644 --- a/crypt/pyproject.toml +++ b/crypt/pyproject.toml @@ -24,5 +24,5 @@ find = {include = ["crypt*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/distutils/distutils/tests/test_versionpredicate.py b/distutils/distutils/tests/test_versionpredicate.py index b0e9ab2..27c8844 100644 --- a/distutils/distutils/tests/test_versionpredicate.py +++ b/distutils/distutils/tests/test_versionpredicate.py @@ -10,4 +10,6 @@ def load_tests(loader, tests, pattern): return tests if __name__ == '__main__': + import unittest + unittest.main() diff --git a/distutils/pyproject.toml b/distutils/pyproject.toml index 3b08883..016c561 100644 --- a/distutils/pyproject.toml +++ b/distutils/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["distutils*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/imghdr/MANIFEST.in b/imghdr/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/imghdr/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/imghdr/pyproject.toml b/imghdr/pyproject.toml index e4bf585..f9e6677 100644 --- a/imghdr/pyproject.toml +++ b/imghdr/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["imghdr*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/mailcap/MANIFEST.in b/mailcap/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/mailcap/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/mailcap/pyproject.toml b/mailcap/pyproject.toml index 521be58..f08d268 100644 --- a/mailcap/pyproject.toml +++ b/mailcap/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["mailcap*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/nntplib/MANIFEST.in b/nntplib/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/nntplib/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/nntplib/pyproject.toml b/nntplib/pyproject.toml index 53bb6d5..69a52ae 100644 --- a/nntplib/pyproject.toml +++ b/nntplib/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["nntplib*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/pipes/pyproject.toml b/pipes/pyproject.toml index f577bce..6fda90b 100644 --- a/pipes/pyproject.toml +++ b/pipes/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["pipes*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/smtpd/pyproject.toml b/smtpd/pyproject.toml index 963126f..c3d91aa 100644 --- a/smtpd/pyproject.toml +++ b/smtpd/pyproject.toml @@ -25,5 +25,5 @@ find = {include = ["smtpd*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/sndhdr/MANIFEST.in b/sndhdr/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/sndhdr/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/sndhdr/pyproject.toml b/sndhdr/pyproject.toml index 6da1d0e..a2a07cc 100644 --- a/sndhdr/pyproject.toml +++ b/sndhdr/pyproject.toml @@ -24,5 +24,5 @@ find = {include = ["sndhdr*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/sunau/MANIFEST.in b/sunau/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/sunau/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/sunau/pyproject.toml b/sunau/pyproject.toml index da3c5ed..aa804eb 100644 --- a/sunau/pyproject.toml +++ b/sunau/pyproject.toml @@ -24,5 +24,5 @@ find = {include = ["sunau*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/telnetlib/pyproject.toml b/telnetlib/pyproject.toml index a20b56c..6b752b8 100644 --- a/telnetlib/pyproject.toml +++ b/telnetlib/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["telnetlib*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/template/MANIFEST.in b/template/MANIFEST.in new file mode 100644 index 0000000..96737d3 --- /dev/null +++ b/template/MANIFEST.in @@ -0,0 +1 @@ +graft tests diff --git a/template/pyproject.toml b/template/pyproject.toml index 2e7fb09..f6f36d4 100644 --- a/template/pyproject.toml +++ b/template/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["{name}*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/uu/pyproject.toml b/uu/pyproject.toml index eb43633..d5b48ef 100644 --- a/uu/pyproject.toml +++ b/uu/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["uu*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta" diff --git a/xdrlib/pyproject.toml b/xdrlib/pyproject.toml index f07627e..0069a71 100644 --- a/xdrlib/pyproject.toml +++ b/xdrlib/pyproject.toml @@ -21,5 +21,5 @@ find = {include = ["xdrlib*"]} "Homepage" = "https://github.com/youknowone/python-deadlib" [build-system] -requires = ["setuptools>=75.0"] +requires = ["setuptools>=69.0"] build-backend = "setuptools.build_meta"