Commit graph

3,727 commits

Author SHA1 Message Date
boxydog
805ca9b4a9 Run pre-commit on all files during CI test job 2023-10-29 22:21:04 +01:00
Chris Rose
271f4dd68f Strip trailing whitespace 2023-10-29 22:19:44 +01:00
Chris Rose
cabdb26cee Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
Chris Rose
8ea27b82f6 Bump all of the dev dependencies
- remove upper version caps
- updated the minimum version of most of Pelican's runtime deps
- replaced black with ruff as a formatter for pelican
- added a cache step to the docs CI task so that the docs can be
  downloaded and inspected.
2023-10-29 22:11:28 +01:00
Justin Mayer
bfb2587697
Merge pull request #3228 from boxydog/fix_1463 2023-10-29 20:03:37 +01:00
boxydog
dbe0b1125f Don't copy file ownership, permissions and metadata 2023-10-29 12:55:37 -05:00
Justin Mayer
a23a4e14cf
Merge pull request #3189 from seanh/publish-to-ghp-using-gha 2023-10-29 18:29:52 +01:00
Deniz Turgut
6f1605edf9
Extend GHA documentation to specify requirements file 2023-10-29 18:30:25 +03:00
Justin Mayer
842c6537f1
Merge pull request #3226 from getpelican/manifest 2023-10-29 16:16:40 +01:00
Justin Mayer
9437de6341 Include more files in PDM sdist builds
This was previously the job of directives in MANIFEST.in, which should
be covered by this PDM-specific configuration.
2023-10-29 16:12:09 +01:00
Justin Mayer
cce1570135 Fix some comments in wheel-related test 2023-10-29 15:53:11 +01:00
Justin Mayer
73599f44f2
Merge pull request #3220 from lioman/centralize-python-information 2023-10-29 15:43:41 +01:00
Lioman
8a0f335e2b only install dev dependencies during lint step 2023-10-29 15:23:14 +01:00
Justin Mayer
165d57eff5
Merge pull request #3127 from mart-e/no-inifinite-feed 2023-10-29 14:23:28 +01:00
Lioman
eb052cae09 Capitalize PDM in docs 2023-10-29 12:41:55 +01:00
Lioman
00d26fc068 remove old setup files 2023-10-29 12:01:42 +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
c18f1a7308 Re-order pyproject items, with other small fixes 2023-10-29 08:48:37 +01:00
Lioman
a76a419585 migrate configuration to PEP621 compatible one 2023-10-29 08:48:37 +01:00
boxydog
fad2ff7ae3
Add unit test utilities temporary_locale and TestCaseWithCLocale (#3224) 2023-10-29 00:40:40 +02:00
Justin Mayer
fec78ebf33
Merge pull request #3225 from boxydog/test_coverage 2023-10-29 00:36:29 +02:00
boxydog
3a6ae72333 Add a "coverage" task to generate a coverage report
Add a one-liner about "invoke" in docs.
2023-10-28 17:35:00 -05:00
Justin Mayer
84795c701c
Merge pull request #3222 from offbyone/test-on-macos 2023-10-28 23:26:24 +02:00
Justin Mayer
3dce25ab23
Merge pull request #3151 from RealOrangeOne/feature/watchfiles 2023-10-28 23:23:44 +02:00
Justin Mayer
269751b033
Merge pull request #3223 from offbyone/switch-to-ruff 2023-10-28 22:38:26 +02:00
Justin Mayer
85bf98232d
Merge pull request #3148 from djramones/period-archives-context 2023-10-28 22:22:11 +02:00
Will Thong
8a7e01646b
Add rel='nofollow' to all external hardcoded links in templates (#3162) 2023-10-28 22:11:44 +02:00
Yasser Tahiri
b812f2ad1c
chore: Simplify boolean if expression (#2944) 2023-10-28 22:06:24 +02:00
Justin Mayer
e14f20bb99
Merge pull request #2758 from MinchinWeb/settings-pathlib-2 2023-10-28 21:56:34 +02:00
Deniz Turgut
b8d5919cd2
expand period tests to be more specific 2023-10-28 22:11:11 +03:00
Chris Rose
33d6712e8b
Don't install pelican's dependencies to lint 2023-10-28 11:18:24 -07:00
Chris Rose
29b10ef6e6
Use poetry directly in lints 2023-10-28 11:05:15 -07:00
Chris Rose
6cf6a1ffe9
Ruff lint fixes 2023-10-28 11:05:15 -07:00
Chris Rose
58fd855385
inv task now uses ruff 2023-10-28 11:05:15 -07:00
Chris Rose
19c797af5e
Add support to verify windows, too 2023-10-28 10:55:01 -07:00
Chris Rose
7dfc799f25
Use ruff in pre-commit 2023-10-28 10:44:47 -07:00
Chris Rose
f342dc3097
Add macOS testing for 3.11/3.12 2023-10-28 08:00:27 -07:00
Deniz Turgut
43e513f218
run pelican first before waiting for changes 2023-10-28 17:37:56 +03:00
Deniz Turgut
b289dcea82
don't watch not existing paths 2023-10-28 17:30:45 +03:00
Jake Howard
631ac1bdb3
Cleanup imports 2023-10-28 17:17:14 +03:00
Jake Howard
b388057d66
Remove unused extensions list 2023-10-28 17:15:56 +03:00
Jake Howard
5519efef2e
Log watching files which don't exist 2023-10-28 17:15:55 +03:00
Jake Howard
7643e0e92b
Make sure the package depends on watchfiles 2023-10-28 17:15:54 +03:00
Jake Howard
61ca47c519
Use watchfiles as a file watching backend
This doesn't use polling unless absolutely necessarily, making it more efficient. It also reduces the amount of first-party code required, and simplifies working out which files are being watched.
2023-10-28 17:15:54 +03:00
Justin Mayer
6ed7395812
Merge pull request #3221 from avaris/importer-fixes 2023-10-28 16:10:47 +02:00
Deniz Turgut
11c13ceae1
use a tempfile for intermediate html file for pandoc in importer 2023-10-28 16:50:34 +03:00
Deniz Turgut
83a8059d02
force timestamp conversion in tumblr importer to be UTC with offset and adjust tests 2023-10-28 16:50:34 +03:00
Justin Mayer
a20bbb55d6
Merge pull request #3044 from copperchin/fix-3042 2023-10-28 14:28:42 +02:00
Gullumluvl
dc427ad9d6
Strip HTML tags from SITENAME inside title tags. Fixes #3147 (#3149) 2023-10-28 14:24:16 +02:00
Deniz Turgut
b6a9a8333b
skip tests that require git if git is not installed
and minor tweaks to subprocess handling
2023-10-28 14:57:33 +03:00