40 Commits

Author SHA1 Message Date
Paul J. Dorn
8fe034ef7c CI: run entry point tests without deps, run lint without package build steps 2024-05-13 01:09:16 +02:00
Paul J. Dorn
b39c5b7ebb CI: style 2023-12-29 05:11:17 +01:00
Paul J. Dorn
c2e48b3014 Merge #3085 2023-12-29 05:10:42 +01:00
Paul J. Dorn
611746edc9 CI: check entry points
Fixes: fdd23e82926d7d10ec4a8e65e42b5184a4ee20ce
2023-12-07 21:12:38 +01:00
Paul J. Dorn
c3396b9786 github actions: cache and test run_module (-m) 2023-12-07 20:02:55 +01:00
Jelmer Draaijer
4ce82358e8 Add Python 3.12 to test matrix and add classifiers 2023-10-31 08:42:48 +01:00
unknown
cc15967cff tox.ini deps 2023-05-17 18:48:55 +03:00
unknown
48d670f087 update pylint version, and fix linter issues 2023-05-17 18:45:59 +03:00
samypr100
f5d73aa73d
GA workflows cleanup
Working Matrix for both lint/tox
Fixing tox v4 issues
Adjust pylint to working version
2023-01-22 13:02:59 -05:00
Christian Clauss
eaebf6d72b Revert the xfail for Python 3.10 2022-02-07 08:23:03 +11:00
Christian Clauss
1feb7c59a2 Revert the xfail for Python 3.10 2022-02-07 08:23:03 +11:00
Christian Clauss
a16b8975a9 GitHub Action to run tox
Because Travis CI seems to be on vacation... https://travis-ci.org/github/benoitc/gunicorn
2022-02-07 08:23:03 +11:00
Randall Leeds
f376da2e66 Test on Python 3.9 2020-12-19 00:40:40 -05:00
Moshe Kaplan
548d5828da
Remove reference to gunicorn/six.py in tox.ini (#2427) 2020-09-23 17:31:23 +03:00
Jason Madden
2d40e6dace
Use socket.sendfile() instead of os.sendfile().
Fixes #2223.

Unfortunately, eventlet doesn't implement GreenSocket.sendfile, so we have to do it for it.

Add gevent and eventlet to tox.ini and add tests to make sure we can at least import the workers. Some tests that this actually functions would be nice...

Update the gevent and eventlet setup extras to require the versions that are enforced in their worker modules.
2020-01-04 06:31:25 -06:00
Takuya Noguchi
ed901637ff Enable pycodestyle 2019-11-28 19:30:38 +09:00
benoitc
441977f57c only support python >= 3.5
python 3.4 is unsupported and we should focus on offering stable
features than backporting some code to this version
2019-11-22 23:03:30 +01:00
Bastien Vallet
7d0c8f97f8 [py38] Python 3.8 is now official, use it by default 2019-10-27 19:52:51 +01:00
johnthagen
f35ae584b4 Add pypy3 to list of tested environments (#2105) 2019-09-08 04:55:26 +03:00
Benoit Chesneau
97a45805f8
remove gaiohttp worker (#1971)
* remove gaiohttp worker

worker is deprecated and won't work on latest version.
2019-01-24 23:05:28 +01:00
Takuya N
7af6f651c0 Add restructuredtext_lint to test (#1598)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-01-22 11:56:49 +01:00
Brett Randall
9c9f1f2bb9 Update Python versions in Travis CI and tox (#1902)
- run lint using latest Python 3.7
- updated env list in tox.ini
  - added py38-dev
  - removed py36-dev
- moved aiohttp to requirements_test.txt

Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-10-28 10:29:17 +03:00
Hugo
e974f30517 Drop support for Python 2
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Berker Peksag
249783567f Drop prospector; use pylint directly
Fixes #1674
2018-01-11 09:59:31 +03:00
Benno Rice
f69c17f8e2 Unlock pylint as prospector now works with >=1.7. Use Python 3.6 for lint. 2017-07-12 16:36:50 +03:00
Berker Peksag
6b44263f77 Don't install pylint 1.7 due to a backwards imcompatible change 2017-04-15 00:55:13 +03:00
Berker Peksag
461e186f5b Integrate prospector into Travis CI
Closes #947
2017-02-07 09:05:43 +03:00
Alex Conrad
9b2f014eec move pytest cli args to setup.cfg 2017-02-07 05:35:25 +03:00
Berker Peksag
146a769afa Add new Python versions to build matrix
Also update package metadata.

Fixes #1439
2017-01-22 08:18:02 +03:00
Berker Peksag
ca64a57c77 Remove pypy3 from Travis
The new version of pip won't support Python 3.2
and we will need to tweak our .travis.yml and
tox.ini in order to run tests on PyPy 3.

However, since we already removed Python 3.2
from Travis, I decided to remove PyPy 3 as well
(it still targets Python 3.2)
2016-11-23 01:44:49 +03:00
benoitc
fd2350aa4f asert plain, to work with py35
fix #1150
2015-11-21 11:22:34 +01:00
benoitc
6999878a40 forgot to remove the targets from tox 2015-11-20 13:46:13 +01:00
Berker Peksag
811ea7880e Unpin mock 1.0.1 since it has support for Python 2.6. 2015-09-20 06:52:55 +03:00
Berker Peksag
9d13c68a71 Fix tox format.
tox is a joke.
2015-07-13 15:22:20 +03:00
Berker Peksag
caf7a1946d Install mock 1.0.1 on Python 2.6.
Fixes #1081
2015-07-13 15:16:01 +03:00
Berker Peksag
dddfcb2826 Fix test_logger in Python 3.2. 2015-07-08 12:38:14 +03:00
Berker Peksag
e84068b518 Use tox in .travis.yml.
This way we can avoid code duplication.

Also, this change makes tests faster due to ignoring the sdist step
and adds Python 3.2, 3.4 and PyPy 3 to build matrix.
2014-10-19 02:12:59 +03:00
Collin Anderson
03fbe9429d clean whitespace 2014-09-10 09:52:12 -04:00
benoitc
fa5af28cf6 update tox & makefile for py.test 2012-10-26 21:07:27 +02:00
Marc Abramowitz
0e88aa6907 Add tox support (http://tox.testrun.org/) 2012-06-24 11:31:34 +02:00