Egbert
5687883d4b
Bump Pygments to 2.16.1 in test requirements; fixes #3385 ( #3386 )
2024-09-12 14:21:12 +02:00
MinchinWeb
a2525f7db4
Remove tzdata from testing requirements.
...
Should be installed by pelican directly, if needed, based on OS.
2023-11-13 14:42:29 -07:00
Justin Mayer
76650898a6
Update to Markdown 3.5.1 in test requirements
2023-11-01 09:43:21 +01:00
Justin Mayer
91d9ef7a70
Add tzdata as dependency in test requirements
...
Otherwise yields the following error with Python 3.10 on Windows:
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
2023-10-28 11:17:48 +02:00
Justin Mayer
a2852942ea
Update Pygments and Markdown dependency versions
2023-03-27 10:44:01 +02:00
Justin Mayer
09c420f40c
Update Jinja & Markdown dev dependency versions
2022-08-01 12:55:02 +02:00
Justin Mayer
2b08497c32
Relax dependency minimum versions
...
Specifying a floor, but not a ceiling, for core dependencies should help
prevent dependency resolution conflicts. Dependencies that affect
functional test output are pinned more tightly.
2021-03-23 08:06:58 +01:00
Justin Mayer
872c4dbd30
Update Pygments dev dependency to v2.8
2021-02-18 15:33:30 +01:00
Justin Mayer
ce5d063513
Allow latest Python-Markdown to be installed
...
Pinning dependencies to specific versions creates conflicts when other
packages require more recent versions. We can do our part by allowing
for a wider range of dependency versions, specifying only the oldest
version that will still work. Meanwhile, we ensure that test
environments use a specific pinned dependency in order to match the
expected functional test output.
2021-01-15 13:04:07 +01:00
Nam Nguyen
34fc7f2a84
Allow latest Pygments to be installed
...
Otherwise, installation conflicts can result when plugins/themes require
more recent Pygments versions.
2021-01-15 12:54:02 +01:00
Justin Mayer
b454f76f72
Count CPU cores via psutil for parallel testing
...
psutil does a much better job at accurately counting CPU cores,
of which pytest-xdist takes advantage for the purposes of running
tests concurrently.
2020-11-02 13:17:53 +01:00
Justin Mayer
adbefe8363
Upgrade pytest-xdist dev dependency to v2.0
...
Also, stop pinning pytest version, since older version combined with
pytest-xdist 2.0 caused CI test errors.
2020-08-16 07:19:47 +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
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
2a5bb109ba
Pin pytest until 5.4.x series has stabilized
...
Version 5.4.1 is currently incompatible with pytest-sugar.
2020-04-12 15:04:22 +02:00
Justin Mayer
f18429f23a
Add Pytest as development dependency
2019-11-12 07:45:36 -08:00
Justin Mayer
7e859c277f
Pin Python-Markdown to >= 3.1 in test requirements
...
Closes #2493
2019-06-10 21:12:12 +02:00
Justin Mayer
8ed686136a
Un-pin Python-Markdown version in test requirements
...
Refs #2493 #2569
2019-05-13 09:59:31 +02:00
Justin Mayer
08ae2ef361
Pin Python-Markdown until fixed v3.1 is released
2018-10-25 09:28:42 +02:00
Mr. Senko
ed92d959b2
Separate pip requirements. Fixes #1808
2016-05-24 16:42:46 +03:00