Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
And test it in CI
  • Loading branch information
WhyNotHugo committed Sep 5, 2024
1 parent ba6c397 commit b280786
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .builds/alpine-py312.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
image: alpine/3.20
packages:
- alpine-sdk
- font-dejavu # makedepends for wheels
- ghostscript # makedepends for wheels
- libpq-dev # makedepends for wheels
- mariadb # server itself
- mariadb-dev # lib for wheels
- mariadb-openrc
- pango # makedepends for wheels
- postgresql
- postgresql-common-openrc # tests
- py3-tox
- python3-dev
sources:
- https://github.com/whyNotHugo/django-afip
environment:
CI: true
tasks:
- postgres: |
sudo service postgresql start
- mariadb: |
sudo sed -i 's/skip-networking/skip-grant-tables/' /etc/my.cnf.d/mariadb-server.cnf
sudo /etc/init.d/mariadb setup
sudo service mariadb start
- tox-mariadb: |
cd django-afip
tox -e py-mysql
- tox-django42-mariadb: |
cd django-afip
tox -e py-django42-mysql
- tox-postgres: |
cd django-afip
tox -e py-postgres
- tox-django42-postgres: |
cd django-afip
tox -e py-django42-postgres
- tox-sqlite: |
cd django-afip
tox -e py-sqlite
- tox-mypy: |
cd django-afip
tox -e mypy
- tox-docs: |
cd django-afip
tox -e docs
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Any breaking changes which require intervention will be mentioned here.
- **BREAKING**: Drop support for Django 3.2, 4.0 and 4.1.
- **BREAKING**: Drop support for Python 3.8.
- Add support for Django 5.0.
- Add support for Python 3.12.
- Mark ``requests`` 2.32.0, 2.32.1, and 2.32.2 as incompatible. An upstream bug
makes these unusable with django-afip.
- Add support for ``requests`` >= 2.32.3.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Requisito
Actualmente **django-afip** funciona con:

* Django 3.0, 3.1 y 3.1
* Python 3.9, 3.10 and 3.11
* Python 3.9, 3.10, 3.11 and 3.12
* Posgres, Sqlite, MySql/MariaDB

Te recomendamos usar Postgres.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
Expand Down

0 comments on commit b280786

Please sign in to comment.