diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0884df1..a2bdde0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.13 cache: pip cache-dependency-path: | requirements/*.txt @@ -66,10 +66,9 @@ jobs: needs: [lint] strategy: matrix: - pyver: ['3.8', '3.9', '3.10', '3.11'] - os: [ubuntu, macos, windows] + pyver: ['3.9', '3.10', '3.11', '3.12', '3.13'] fail-fast: false - runs-on: ${{ matrix.os }}-latest + runs-on: ubuntu-latest timeout-minutes: 15 steps: - name: Checkout diff --git a/MANIFEST.in b/MANIFEST.in index 0912bc1..cd714e4 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -8,11 +8,4 @@ graft docs graft tests global-include *.pyi global-exclude *.pyc -global-exclude *.pyd -global-exclude *.so -global-exclude *.lib -global-exclude *.dll -global-exclude *.a -global-exclude *.obj -exclude aiosignal.html prune docs/_build diff --git a/setup.cfg b/setup.cfg index 741d83b..6962e7b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[bdist_wheel] +universal = True + [metadata] name = aiosignal version = attr: aiosignal.__version__ @@ -24,10 +27,6 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 Development Status :: 5 - Production/Stable Operating System :: POSIX @@ -36,7 +35,7 @@ classifiers = Framework :: AsyncIO [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find: include_package_data = True @@ -77,6 +76,7 @@ norecursedirs = dist docs build .tox .eggs minversion = 3.8.2 testpaths = tests/ asyncio_mode = strict +asyncio_default_fixture_loop_scope = function [coverage:run] branch = True diff --git a/tox.ini b/tox.ini index be4b8fd..d5f0b70 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] -envlist = check, clean, {py38,py39,py310,py311}-{debug,release}, report +envlist = check, clean, {py39,py310,py311,py312,py313}, report [testenv] @@ -16,9 +16,6 @@ deps = commands = pytest --cov-append {posargs} -setenv = - debug: PYTHONASYNCIODEBUG = 1 - [testenv:check] deps = @@ -26,13 +23,16 @@ deps = flake8 docutils pygments + twine + build commands = flake8 aiosignal tests - python setup.py check -rms + python -m build + python -m twine check --strict dist/* basepython: - python3.10 + python3.13 [testenv:clean] @@ -43,7 +43,7 @@ commands = coverage erase basepython: - python3.10 + python3.13 [testenv:report] @@ -55,8 +55,8 @@ commands = coverage html echo "open file://{toxinidir}/htmlcov/index.html" -whitelist_externals = +allowlist_externals = echo basepython: - python3.10 + python3.13