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 Python 3.12 #10

Merged
merged 1 commit into from
Nov 24, 2023
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
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
Loading