Justin Mayer
08785f714f
Remove obsolete linters: Flake8, Black, isort
2023-10-30 19:35:59 +01:00
Chris Rose
29b10ef6e6
Use poetry directly in lints
2023-10-28 11:05:15 -07:00
Lioman
58e70082e0
Remove python 3.7 build configuration
2023-10-28 11:05:29 +02:00
Lioman
de0fae8182
Add python 3.12 to test matrix
2023-10-03 16:59:57 +02:00
Deniz Turgut
6ddbc83f43
add python 3.11 to CI and use setup-python pip cache
2022-10-26 23:50:36 +03:00
Deniz Turgut
cdc90d5d07
unpin flake8 and do not install pelican while checking
...
installing pelican brings in markdown. flake8 and markdown have
incompatible requirements for importlib-metadata. installing pelican
is not required to run flake8.
2022-10-23 18:25:25 +03:00
Deniz Turgut
6d11c6f2e5
use python 3.9 for lint, docs and deploy actions
...
3.7 is old and will soon be EOLed
this also fixes flake8 + importlib-metadata issues
2022-10-20 04:17:11 +03:00
Lioman
5103aa9a38
Remove python 3.6 from supported language versions
2022-08-23 13:07:19 +02:00
Justin Mayer
0da8659d0e
Add Python 3.10 to test matrix & classifier list
2021-10-06 10:12:34 +02:00
Justin Mayer
1449840199
Make Tox & GitHub CI jobs' Python versions match
...
Otherwise results in InterpreterNotFound errors
2021-03-23 08:23:07 +01:00
Justin Mayer
8bb5f1b786
Drop unsupported Python 3.5 from test matrix
2021-01-15 13:19:19 +01:00
Deniz Turgut
8b8a0147e8
add python3.9 to CI
2020-10-12 18:47:08 +03:00
Justin Mayer
64bb392fef
Auto-detect physical CPU cores via pytest-xdist
2020-08-16 07:23:13 +02:00
Deniz Turgut
839629b102
Cleanup test environment and requirements
...
- pytest: verbose isn't needed but show skipped tests
- mock is not needed anymore. it is part of stdlib
- Unpin Sphinx and fix warning about lexer
- Mirror tox command for doc build in tasks.py
2020-05-09 16:17:14 +03:00
Deniz Turgut
125dec493e
Modify tox envs to simplify CI and add Python 3.8
2020-05-09 16:17:13 +03:00
Justin Mayer
2cd1d44576
Relax hard/enforced line length to 88 characters
2020-04-27 09:45:30 +02:00
Justin Mayer
1a6d66f395
Run tests in parallel on multi-core systems
...
Uses pytest-xdist to run tests on two cores simultaneously, speeding up
test runs by nearly 40%.
2020-04-13 08:55:29 +02:00
Justin Mayer
e2bbfcb088
Pin Pygments to 2.6.1
2020-04-12 17:02:06 +02:00
Justin Mayer
88100484e0
Move more test deps from CI config to requirements
2020-04-12 15:16:12 +02:00
Justin Mayer
772005f431
Merge pull request #2649 from iKevinY/py2-sunset
...
Remove Python 2 support
2019-11-26 14:03:13 -08:00
Justin Mayer
c0df11ecb8
Remove Coveralls from Tox configuration
2019-11-11 13:53:14 -08:00
Justin Mayer
dad376e0db
Switch Tox test runner from Nose to Pytest
2019-11-11 13:51:25 -08:00
Justin Mayer
e713407f89
Add Pytest filterwarnings config section
...
Fixes #2650
2019-11-10 20:08:47 -08:00
Paolo Melchiorre
ae73d06301
Remove Python 2.7 support from settings
2019-11-05 21:04:56 +01:00
John Franey
9e07234bae
Update Tox config and fix failing CI envs
...
Updates base Python version for Travis CI from 2.7 to 3.6 and fixes a
linting error.
2019-06-18 22:44:46 -04:00
John Franey
63a72fc619
Remove Python 3.4 references
...
This PR removes the Python 3.4 tox task and updates references in the
code to Python 3.5+.
tox complains about Python 3.4, which is EOL after next month:
> py34 installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
2019-02-06 10:23:27 -04:00
MinchinWeb
dbdbd43511
Add Python 3.7 support to Travis and Tox
2018-11-02 16:11:45 -06:00
Hugo
ce0787f0d3
Drop unsupported Python 3.3
2017-10-02 18:33:21 +03:00
derwinlu
9cca567bed
Add python3.6 test environment
...
* Add py36 environment to tox
* Unify dependencies across manual installation and tox
* Mention tox in the docs
2017-01-23 23:50:51 +01:00
Deniz Turgut
976a9efcc2
Fixes 2059: Fix sphinx version to 1.4.9 for docs tests
2016-12-10 12:42:35 -05:00
Justin Mayer
83afc5e214
Merge pull request #1961 from MrSenko/pin_pygments
...
Pin Pygments version to 2.1.3. Fixes #1916
2016-09-27 10:05:46 -06:00
Mr. Senko
090694dba7
Pin Pygments version to 2.1.3. Fixes #1916
2016-05-26 17:32:21 +03:00
Mr. Senko
ed92d959b2
Separate pip requirements. Fixes #1808
2016-05-24 16:42:46 +03:00
derwinlu
22ec94ee56
Do not fail tox run if coveralls push fails
...
When tox environments are run locally, coveralls exits with an error
code as it is not authenticated to push to coveralls. Adding the - in
front allows tox to ignore a fail on this command and not mark the test
case as failed.
2015-10-22 09:45:49 +02:00
derwinlu
bfafb3a492
Add python 3.5 testing environment
...
Python 3.5 is not yet fully integrated in travis. Include
workaround to enable it for now.
2015-10-22 09:45:21 +02:00
derwinlu
8993c55e6e
fulfil pep8 standard
2015-08-17 13:34:32 +02:00
derwinlu
44f9cfaaf1
add flake8 testing environment
2015-08-17 13:33:23 +02:00
derwinlu
f588c565e2
keep docs output
2015-06-19 19:30:53 +02:00
derwinlu
e10ae8a187
make tox 2 compatible
2015-05-13 21:08:39 +02:00
winlu
a45a917766
test docs via travis
...
* move build environment into tox
* add new environment installing sphinx and testing for doc errors
* reorganize dependency installs for easier management
2015-04-13 18:20:13 +02:00
Simon Conseil
6972261261
Add python 3.4 to tox config.
2014-04-17 22:57:26 +02:00
Kyle Fuller
8dfa7c23f3
Use dev_requirements.txt for tox dependencies
2014-01-10 07:34:13 +00:00
Justin Mayer
505852c04c
Use the actively maintained typogrify-web package
...
The Typogrify library is no longer actively maintained by the
original author. These changes switch Pelican over to a new fork that
will receive more consistent updates going forward.
2014-01-03 08:51:52 -08:00
Simon Conseil
a49b744e95
Fix tests with latest versions of smartypants.
...
smartypants is now py3 compatible but the default settings for double quotes has
been changed (http://pythonhosted.org/smartypants/changes.html ).
This commit:
- update the typogrify test (change quotes, and add more test casesi: caps word,
ellipsis)
- install typogrify on travis
- uses upstream version of smartypants in tox instead of dmdm's fork for py3
2013-09-26 22:47:55 +02:00
Richard Brooksby
edcc027d89
Added lxml to the list of dependencies for the tox tests.
...
My system python installs are completely clean except for virtualenv, so tox needs a complete set of non-default modules.
2013-06-08 23:40:16 +01:00
Simon Conseil
7057d3742b
Drop python 3.2 support and move to python 3.3.
...
Jinja 2.7 (released 2013-05-20) supports only Python3 >=3.3 so it is time to
drop Python 3.2 and move to 3.3
2013-06-02 16:23:36 +02:00
Simon Conseil
2bf91e54cd
Tox: use git urls for py3 versions of smartypants and typogrify
...
+ This make it easier to use tox with py3: no need to checkout manually
typogrify and smartypants repos and use tox's distshare.
+ Remove feedgenerator as it is already a dependy for pelican.
2013-06-02 16:17:35 +02:00
Simon Conseil
40643ce554
Cleanup tox and remove mentions of webassets.
...
Nose and unittest2 have been removed from pelican's dependencies, and webassets
moved to pelican-plugins.
2013-04-14 00:36:29 +02:00
Alexis Métaireau
547f8d2e83
Move the tests into pelican. Fix #500
2013-03-06 00:41:27 -08:00
W. Trevor King
763244dad5
tox.ini: Test on Python 3.3 as well as 2.7 and 3.2
...
I just copied the 3.2 environment for 3.3. They should be similar,
but it's possible some packages have extra issues on 3.3.
2013-01-18 19:47:02 -05:00