Skip to content

Commit

Permalink
Make black[d] install + test run with 3.12
Browse files Browse the repository at this point in the history
- With aiohttp >= 3.9.0 we can now install all dependencies with 3.12
- Add actions to run 3.12

Test:
- `python3.12 -m venv /tmp/tb --upgrade-deps`
- `/tmp/tb/bin/pip install tox`
- `/tmp/tb/bin/pip install .[d]`
- `/tmp/tb/bin/tox -e py312`
```
  py312: OK (37.61=setup[3.98]+cmd[3.83,0.36,19.54,6.46,3.00,0.44] seconds)
  congratulations :) (37.63 seconds)
```
  • Loading branch information
cooperlees committed Nov 18, 2023
1 parent 5773d5c commit 0d9b904
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up latest Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "*"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up latest Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "*"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -7,7 +7,7 @@

[tool.black]
line-length = 88
target-version = ['py37', 'py38']
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
Expand Down Expand Up @@ -76,7 +76,7 @@ dynamic = ["readme", "version"]
colorama = ["colorama>=0.4.3"]
uvloop = ["uvloop>=0.15.2"]
d = [
"aiohttp>=3.7.4",
"aiohttp>=3.9.0",
]
jupyter = [
"ipython>=7.8.0",
Expand Down

0 comments on commit 0d9b904

Please sign in to comment.