Skip to content

Commit

Permalink
Fix CI (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Dec 13, 2024
1 parent de1c3a1 commit 0d0e087
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 25 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[bdist_wheel]
universal = True

[metadata]
name = aiosignal
version = attr: aiosignal.__version__
Expand All @@ -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
Expand All @@ -36,7 +35,7 @@ classifiers =
Framework :: AsyncIO

[options]
python_requires = >=3.8
python_requires = >=3.9
packages = find:
include_package_data = True

Expand Down Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]

Expand All @@ -16,23 +16,23 @@ deps =
commands =
pytest --cov-append {posargs}

setenv =
debug: PYTHONASYNCIODEBUG = 1

[testenv:check]

deps =
wheel
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]

Expand All @@ -43,7 +43,7 @@ commands =
coverage erase

basepython:
python3.10
python3.13

[testenv:report]

Expand All @@ -55,8 +55,8 @@ commands =
coverage html
echo "open file://{toxinidir}/htmlcov/index.html"

whitelist_externals =
allowlist_externals =
echo

basepython:
python3.10
python3.13

0 comments on commit 0d0e087

Please sign in to comment.