Skip to content

Commit

Permalink
Better declaration for install_requires and test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Nov 27, 2023
1 parent c01f378 commit f0d2bc1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
continue-on-error: ${{ matrix.continue-on-error }}
strategy:
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9"]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
django: [50, 42, 32]
cms: [nocms, cms311, async]
continue-on-error: [false]
Expand All @@ -18,6 +18,8 @@ jobs:
cms: cms311
- django: 50
python-version: 3.9
- django: 50
python-version: 3.8
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ It supports both tests writted using Django ``TestCase`` and pytest ones
Supported versions
==================

Python: 3.9, 3.10, 3.11
Python: 3.8, 3.9, 3.10, 3.11, 3.12

Django: 3.2, 4.0, 4.1, 4.2
Django: 3.2, 4.0, 4.1, 4.2, 5.0

django CMS: 3.11

Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,22 @@ classifiers =
Framework :: Django :: 3.2
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12

[options]
include_package_data = True
install_requires =
dj-database-url
docopt
six
setuptools; python_version>="3.12"
setup_requires =
setuptools
packages = find:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ envlist =
py{3.11}-django{42,41,40,32}-{cms311,nocms,async}
py{3.10}-django{42,41,40,32}-{cms311,nocms,async}
py{3.9}-django{32}-{cms311,nocms,async}
py{3.8}-django{32}-{cms311,nocms,async}
minversion = 3.23

[testenv]
Expand All @@ -24,7 +25,6 @@ deps=
django50: django~=5.0b1
cms311: https://github.com/yakky/django-cms/archive/release/3.11.x.zip
cms311: djangocms-text-ckeditor>=5.0,<6.0
py3.12: setuptools
-r{toxinidir}/requirements-test.txt
async: channels[daphne]~=4.0.0
passenv =
Expand Down

0 comments on commit f0d2bc1

Please sign in to comment.