1
0
Fork 0
forked from github/pelican
Commit graph

36 commits

Author SHA1 Message Date
Justin Mayer
903ce3ce33 Pin Furo doc theme version
We override its page.html template with our own, so it is better to
manually and explicity upgrade rather than have a future version
of the Furo theme potentially break the documentation build.
2023-11-12 13:41:38 +01:00
Justin Mayer
76650898a6 Update to Markdown 3.5.1 in test requirements 2023-11-01 09:43:21 +01:00
Justin Mayer
08785f714f Remove obsolete linters: Flake8, Black, isort 2023-10-30 19:35:59 +01:00
Lioman
8b6d215934 migrate configuration to PEP621 compatible config
- adapt documentation
- add wheel tests to check wheel contents.
- adapt pipeline to use pdm
- adapt autopub config
- add scripts as shortcuts to invoke tasks
2023-10-29 11:59:58 +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
a8fefad331 Add OpenGraph metadata to docs via Sphinx extension 2023-10-13 08:01:29 +02:00
Justin Mayer
208332c0e6
Merge pull request #3112 from getpelican/update-functional-test-output 2023-04-20 08:38:04 +02:00
Justin Mayer
a2852942ea Update Pygments and Markdown dependency versions 2023-03-27 10:44:01 +02:00
Justin Mayer
06c9e0fb80 Pin Flake8 to 3.9.* in requirements/style.pip 2023-03-27 10:36:00 +02: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
Justin Mayer
9c0c5b4929 Pin Flake8 due to upper bound on importlib-metadata
See: https://github.com/PyCQA/flake8/pull/1438
2022-08-01 13:23:01 +02:00
Justin Mayer
09c420f40c Update Jinja & Markdown dev dependency versions 2022-08-01 12:55:02 +02:00
Justin Mayer
961909a149 Update Sphinx and Furo theme dependency versions 2022-08-01 12:53:09 +02:00
Paolo Melchiorre
ac416d7df2 Add Furo as requirement for docs 2022-08-01 10:25:36 +02:00
Justin Mayer
fe19f1abb6 Pin Sphinx to avoid aggressive extlinks warning
See: https://github.com/sphinx-doc/sphinx/issues/10112
2022-02-01 12:10:20 -07: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
4821ad3ce7 Remove Bumpr 2019-11-13 06:48:09 -08:00
Justin Mayer
535df9cd9c Add Invoke tasks for building and serving docs 2019-11-12 08:36:22 -08: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
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
0942fcb9ec Use flake8-import-order packaged release
Packaged releases weren't available previously, which required us to
install the master branch version. Now that releases are being published
to PyPI, we should use those.
2016-10-07 09:03:18 -06:00
Mr. Senko
ed92d959b2 Separate pip requirements. Fixes #1808 2016-05-24 16:42:46 +03:00