Set up environment:
python3 -m pip install poetry==1.5.0
poetry env use 3.11
poetry install
poetry run pre-commit install
make test
To run integration (or end-to-end) tests on a real instance of Amazon SQS put your credentials in local file:
cp .env_example .env
Run special tests after .env
file is ready:
make test_e2e
Update package version manually inside aiosqs/__init__.py
file and inside pyproject.toml
file.
Create a new git tag as an increment.
Then install a tool to publish:
python3 -m pip install hatch
hatch build
hatch publish