Commit graph

59 commits

Author SHA1 Message Date
Peter Bittner
0f099b8ab4 Configure coverage via pyproject.toml, show results in CI 2025-07-09 13:58:57 +02:00
Peter Bittner
df5b04b932 Remove duplicate table entry (tox-gh-actions) 2025-07-09 09:03:56 +02:00
Peter Bittner
0d87a76da0 Adhere to new license specification in metadata
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license

Note that this must drop (the end-of-life) Python 3.8, because
setuptools>=80 requires Python 3.9+ and older setuptools versions
require the license field to be a table instead of a string value.
2025-07-09 09:03:56 +02:00
Peter Bittner
6850710413 Remove uv lockfile upon cleanup to avoid audit to freak out 2025-07-09 09:03:56 +02:00
Peter Bittner
1dd5b2ac62 Fix Sphinx documentation issues, add RTD configuration 2025-07-08 12:22:45 +02:00
Peter Bittner
82fbbeb6b2 Migrate packaging from setup.py to pyproject.toml 2025-07-08 12:22:45 +02:00
Peter Bittner
023702fa75 Consolidate tox.ini and pyproject.toml 2022-03-10 15:50:29 +01:00
Peter Bittner
a021e07e15
Improve GHA test jobs, move tool config to pyproject.toml (#202)
* Move Tox tool config settings to pyproject.toml
* Restore older Bandit version for predictive setup
   Bandit UX is seriously broken. Unfortunately, only <1.6 works predictably.
* Exclude unsupported Python/Django combinations
   Use a more self-explanatory build job name for tests
* Help pytest find the Django test project settings
* Use clean range for Django 4.0
* Keep load on the GHA runners low, use newer Python for checks
2022-02-04 19:04:03 +01:00
Peter Bittner
44e642c34b Add clean Tox target (run tox -e clean) 2021-11-27 19:14:13 +01:00
Peter Bittner
41b8c243d4 Add checks as a separate workflow
Run test suite only for PRs and master
2021-11-27 19:14:13 +01:00
Peter Bittner
5daa0c5329 Split up test matrix into Python-Django combinations 2021-11-27 19:14:13 +01:00
David Smith
aa29a051bd Dropped Django 3.1 support 2021-11-26 01:29:40 +01:00
David Smith
dbd7414b33 Added Python 3.10 support. 2021-11-26 01:29:40 +01:00
David Smith
392cbba489 Updated supported Django versions 2021-10-05 09:30:53 +02:00
David Smith
37009f2e08 Implemented isort 2021-02-21 17:28:27 +01:00
David Smith
9163294603 Updated supported versions of Python and Django
Dropped Python2.7/3.5 and Django 1.11 from test matrix

Removed Py2 code and updated for Py3 features

Replaced assertRaisesRegexp with AsserRaisesRegex

Updated setup.py for currently supported versions

Removed _timestamp
2020-12-03 23:01:10 +01:00
David Smith
3eb17007ad Refactored setup.py to remove cmdclass and test packages 2020-11-30 23:02:04 +01:00
David Smith
10d109eb6c Use pytest as test runner
* Used pytest to run tests within tox environments

* Removed test runner within setup.py
2020-11-30 23:02:04 +01:00
Jannis Leidel
7580bc1619
Ignore it for real? 2020-11-25 21:15:45 +01:00
Jannis Leidel
de2ed4bafc
Ignore bandit errors. 2020-11-25 21:11:14 +01:00
Jannis Leidel
2322f7a0bf
Fix config section names. 2020-11-25 21:04:49 +01:00
Jannis Leidel
1ebc2a23ea
Add gh-action mapping. 2020-11-25 21:01:53 +01:00
Jannis Leidel
b9320b41d9
Add initial GitHub Actions workflow. 2020-11-25 20:56:03 +01:00
Peter Bittner
d9b21e96c6 Test against Django 3.0, Python 3.8
Modernize Travis CI setup
2020-04-15 14:51:05 +02:00
Peter Bittner
bfe92c716c Ensure Tox targets clean and docs are working
Update packaging information (Django 2.2, license)

Remove problematic install_requires
2019-04-09 14:43:50 +02:00
Peter Bittner
4e874d88ae Add Django 2.2 to the test matrix
Remove all officially unsupported Python+Django combinations

Add Bandit check, add Codacy badge

Add docs target in Tox configuration

Use build stages with Travis CI
2019-04-09 09:27:33 +02:00
Peter Bittner
4a07cb35e4 Replace deprecated readme check
Make flake8 ignore build folders
2019-04-08 20:44:22 +02:00
Pi Delport
0a549c8ee6 Drop Python 3.3, add Python 3.7 and Django 2.1
This is a combination of 5 commits.

Commit message #1:

    Drop support for Python 3.3

    Setuptools and Tox no longer support or work on Python 3.3.

Commit message #2:

    Tox / Travis: Add Python 3.7 and Django 2.1

Commit message #3:

    Tox: Django 2.1 drops support for Python 3.4

Commit message #4:

    Travis: Add workaround for Python 3.7

    Upstream issue: https://github.com/travis-ci/travis-ci/issues/9815

Commit message #5:

    Travis: Enable pip caching
2018-08-22 15:50:32 +02:00
Matthäus G. Chajdas
a9d0befa46 Add support for Django <2 and 2; update tox test matrix. 2017-12-03 18:28:38 +01:00
Peter Bittner
2e9329dbb8 Use more targeted approach for README conversion check 2017-11-23 00:56:11 +01:00
Peter Bittner
ef44d0ccf1 Check PyPI package description generation w/ tox 2017-11-18 19:56:33 +01:00
Peter Bittner
4e8644fbdc Fix non-critical issues forgotten for v2.3.0 2017-10-22 14:28:25 +02:00
Pi Delport
969377b39a Tox: Expand Django versions in envlist 2017-10-17 17:29:11 +02:00
Pi Delport
4157c55e26 Tox, Travis: Update for Python 3.6, Django 1.10 & 1.11 2017-10-17 14:07:20 +02:00
Peter Bittner
c7b14bdf5c Drop Python 3.2 support
Refactor Travis CI configuration

Add flake8 checks, address all complaints
2017-10-16 12:11:23 +02:00
Peter Bittner
f35511b33e Pin virtualenv version for Python 3.2 support 2016-05-15 18:18:05 +02:00
Peter Bittner
f04ba7d125 Pin pip version compatible with Python 3.2 (3rd try)
See problems in issue #84
2016-04-17 23:12:29 +02:00
Peter Bittner
7243f34243 Pin pip version compatible with Python 3.2 (2nd try)
See problems in issue #84
2016-04-17 19:10:50 +02:00
Peter Bittner
1bc53c3cc5 Pin pip version compatible with Python 3.2
See problems in issue #84
2016-04-17 18:46:01 +02:00
Peter Bittner
25f45ec19a Add py32-django18 combination (tox) 2016-01-07 00:17:36 +01:00
Joost Cassee
9fe81545fd Fix typos in tox.ini 2016-01-06 15:17:41 +01:00
Hugo Osvaldo Barrera
87be940822 Drop support for unsupported django versions
Since django 1.8 is an LTS release, we're dropping support for older
versions.

Since django 1.7 is still relatively recent, we'll be keeping support
for it for now.
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
8a16cea356 Don't fail tests if coverall fails 2015-12-06 11:37:11 -03:00
Hugo Osvaldo Barrera
bdd1a171f2 Add django1.9 to the test matrix 2015-12-06 11:37:04 -03:00
Hugo Osvaldo Barrera
ecb4da9ffb Remove redundant basepython declarations 2015-12-06 11:34:54 -03:00
Peter Bittner
2a5015fed2 Pin coverage version (workaround for Python 3.2 test execution on Travis-CI)
see https://bitbucket.org/ned/coveragepy/issues/407/coverage-failing-on-python-325-using#comment-22049180
2015-09-26 11:10:37 +02:00
Peter Bittner
d8c5852abb Also test Python 3.2 with tox
Match python/django test combinations with Pip packages on PyPI

see https://pypi.python.org/pypi/Django/1.x (with x in 4..8)
2015-09-25 17:33:54 +02:00
Joost Cassee
a9c9598e55 Send coverage info to Coveralls.io on Travis 2015-05-18 11:33:53 +02:00
Peter Bittner
8103e5d94a Refactor tox.ini with conditional settings
see https://testrun.org/tox/latest/config.html#generating-environments-conditional-settings

Also test Django 1.8 with tox
2015-04-21 00:00:12 +02:00
Eric Amador
5855a1693a django 1.4 doesn't have python 3.x support. 2015-04-18 01:11:43 -04:00