Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 3.13 #184

Merged
merged 4 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
python-version:
["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"]

steps:
- uses: "actions/checkout@v3"
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "3.x"
python-version: "3.12"

- name: "Install PDM and twine"
run: "python -m pip install pdm twine check-wheel-contents"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ async def test_stuff():
- Switch to more modern async idioms: Remove types.coroutine and make AiofilesContextManager an awaitable instead a coroutine.
- Add `aiofiles.os.path.abspath` and `aiofiles.os.getcwd`.
[#174](https://github.com/Tinche/aiofiles/issues/181)
- _aiofiles_ is now tested on Python 3.13 too.
[#184](https://github.com/Tinche/aiofiles/pull/184)
- Dropped Python 3.7 support. If you require it, use version 23.2.1.

#### 23.2.1 (2023-08-09)

Expand Down
117 changes: 18 additions & 99 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 18 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ authors = [
{name = "Tin Tvrtkovic", email = "[email protected]"},
]
dependencies = []
requires-python = ">=3.7"
requires-python = ">=3.8"
readme = "README.md"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: AsyncIO",
Expand All @@ -29,19 +29,6 @@ Changelog = "https://github.com/Tinche/aiofiles#history"
"Bug Tracker" = "https://github.com/Tinche/aiofiles/issues"
repository = "https://github.com/Tinche/aiofiles"

[tool.pdm.dev-dependencies]
test = [
"pytest>=7.2.0",
"pytest-asyncio>=0.19.0",
"coverage>=6.4.4",
"tox>=3.25.1",
]
lint = [
"black>=22.8.0",
"flake8>=5.0.4",
"isort==5.11.5",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Expand All @@ -63,3 +50,19 @@ skip-magic-trailing-comma = true
[tool.isort]
profile = "black"
known_first_party = ["aiofiles"]

[tool.pdm.dev-dependencies]
test = [
"pytest>=8.2.2",
"pytest-asyncio>=0.23.7",
"coverage>=6.4.4",
"tox>=3.25.1",
]
lint = [
"black>=22.8.0",
"flake8>=5.0.4",
"isort==5.11.5",
]

[tool.pytest.ini_options]
asyncio_mode = "auto"
Loading
Loading