Skip to content

Commit

Permalink
Actions maintenance, add Py3.13 (#81)
Browse files Browse the repository at this point in the history
* Actions maintenance, add Py3.13

* Trigger

* BUmp asyncpg

* Bump aiohttp and explicitly require greenlet
  • Loading branch information
caspervdw authored Nov 6, 2024
1 parent 577ea51 commit 792f00e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"

- name: Build a source tarball
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
# release on every tag
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ jobs:
fail-fast: false
matrix:
include:
# 2022
- python: "3.10"
pins: ""
# 2023
- python: "3.11"
pins: ""
# current
- python: "3.12"
pins: ""
- python: "3.13"
pins: ""

services:
postgres:
Expand Down Expand Up @@ -52,12 +51,13 @@ jobs:
- "5672:5672"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: ${{ matrix.allow-prereleases || false }}

- name: Install python dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

- Test against PostGRES 16 (instead of 14).

- Test against Python 3.13 (bumped asyncpg to `0.30.*` and aiohttp to `3.10.*`).


## 0.18.0 (2024-10-21)
----------------------
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ auth = ["pyjwt==2.9.*", "cryptography==43.0.*"] # pyjwt[crypto]
amqp = ["pika==1.3.*"]
celery = ["celery==5.4.*"]
fluentbit = ["fluent-logger"]
sql = ["sqlalchemy==2.0.*", "asyncpg==0.29.*"]
sql = ["sqlalchemy==2.0.*", "asyncpg==0.30.*", "greenlet==3.*"]
sql-sync = ["sqlalchemy==2.0.*"] # also requires psycopg2 or psycopg2-binary
# help the resolver a bit by copying version pins from aioboto3 / aiobotocore
s3 = ["aioboto3==13.1.*", "aiobotocore==2.13.1", "boto3==1.34.131", "types-aioboto3[s3]"]
s3-sync = ["boto3==1.34.*", "boto3-stubs[s3]"]
api-client = ["aiohttp==3.9.*", "urllib3==2.0.*"]
api-client = ["aiohttp==3.10.*", "urllib3==2.0.*"]
profiler = ["yappi"]
debugger = ["debugpy"]
nanoid = ["nanoid==2.0.0"]
Expand Down

0 comments on commit 792f00e

Please sign in to comment.