Skip to content

Commit

Permalink
Support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
d3QUone committed Nov 24, 2023
1 parent 594066c commit 23f3951
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 500 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test312.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests Python 3.12

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Cache packages
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-pypoetry312-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-pypoetry312-
- name: Install application dependencies
run: |
python -m pip install --upgrade pip setuptools wheel poetry
poetry env use 3.12
poetry install
- name: Run tests
run: |
make test
6 changes: 5 additions & 1 deletion MAINTAIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Set up environment:
```shell
python3 -m pip install poetry
python3 -m pip install poetry==1.5.0
poetry env use 3.11
poetry install
```
Expand All @@ -14,6 +14,10 @@ make test

# Build and publish

```shell
python3 -m pip install hatch
```

```shell
hatch build
hatch publish
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python asynchronous and lightweight SQS client. The goal of this library is to provide fast and optimal access to SQS
for Python projects, e.g. when you need a high-load queue consumer or high-load queue producer written in Python.

Supports Python versions 3.8, 3.9, 3.10, 3.11.
Supports Python versions 3.8, 3.9, 3.10, 3.11, 3.12.

----

Expand Down
2 changes: 1 addition & 1 deletion aiosqs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
SendMessageResponse,
)

VERSION = "1.0.2"
VERSION = "1.0.3"
Loading

0 comments on commit 23f3951

Please sign in to comment.