Skip to content

Commit

Permalink
Unpin aiohttp (#254)
Browse files Browse the repository at this point in the history
* Unpin aiohttp

* Black

* Temporarily disable py312 for tox

* Remove py312 from envlist

* Temporarily disable py312 in CI

---------

Co-authored-by: Maciej Bieniek <[email protected]>
  • Loading branch information
joostlek and bieniu authored Nov 6, 2023
1 parent 9f6dcd1 commit 7032875
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
python-version:
- "3.10"
- "3.11"
- "3.12"
# - "3.12"

steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aiohttp==3.9.0b0;python_version>='3.12'
aiohttp>=3.9.0b0;python_version>='3.12'
aiohttp>=3.7.0;python_version<'3.12'
dacite>=1.7.0
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
README_FILE = PROJECT_DIR / "README.md"
VERSION = "3.2.0"

with open("requirements.txt", encoding="utf-8") as file:
requirements = file.read().splitlines()

setup(
name="gios",
version=VERSION,
Expand All @@ -23,7 +20,7 @@
packages=["gios"],
package_data={"gios": ["py.typed"]},
python_requires=">=3.10",
install_requires=requirements,
install_requires=["aiohttp>=3.7.0", "dacite>=1.7.0"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = py310, py311, py312, lint, typing, coverage
envlist = py310, py311, lint, typing, coverage
skip_missing_interpreters = True

[gh-actions]
python =
3.10: py310, lint, typing, coverage
3.11: py311
3.12: py312
; 3.12: py312

[testenv]
commands =
Expand Down

0 comments on commit 7032875

Please sign in to comment.