Commit Graph

180 Commits

Author SHA1 Message Date
Adam Turner
db7ba522d7 Install epubcheck for Docutils HEAD tests (#12272) 2024-04-12 21:32:19 +01:00
Adam Turner
f51b9d9988 Test with Docutils 0.21 2024-04-11 19:51:47 +01:00
Hugo van Kemenade
b1548d0aa4 CI: Print detailed Python version (#12176)
Print additional python version information for CI jobs
2024-03-22 18:10:35 +01:00
Chris Sewell
b45fee696f 🔧 Sync make doclinter with CI check (#12156)
Unignore files in `make doclinter` command, fix the resulting issues, and use this command in the CI job
2024-03-21 13:12:06 +01:00
Chris Sewell
d8cf71cbde 🔧 Setup ruff format (initially excluding all files) (#12136)
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-19 10:27:41 +01:00
dependabot[bot]
95d710e78f Bump softprops/action-gh-release from 1 to 2 (#12059)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 03:03:48 +01:00
dependabot[bot]
63c53c412f Bump peter-evans/create-pull-request from 5 to 6 (#11947)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 02:54:26 +01:00
dependabot[bot]
2f6156f605 🔧 Bump codecov/codecov-action from 3 to 4 (#11948)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 02:45:53 +01:00
danieleades
d74a450213 [deps] bump ruff version (#12065)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-14 10:42:55 +01:00
danieleades
3190c3fcf1 [github] update dependabot config (#12071) 2024-03-14 09:55:07 +01:00
James Addison
c777897109 [github] update issue label names (#12039)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-03 10:24:44 +01:00
danieleades
d6f38ade54 [CI] update mypy CI job to use local config (#12013)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-26 12:15:17 +01:00
Charlie Marsh
aff95789ac Upgrade Ruff configuration for v0.2.0 (#11927)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-02-02 00:11:44 +00:00
Adam Turner
fa29004951 Bump Ruff to 0.1.14 and remove flake8-simplify (#11906)
Authored-by: Daniel Eades <danieleades@hotmail.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2024-01-21 20:42:23 +00:00
Adam Turner
82d78c19bf Bump Ruff to 0.1.13 2024-01-13 20:49:45 +00:00
Adam Turner
3d98eeea79 Update Ruff to 0.1.11 2024-01-04 02:43:52 +00:00
Adam Turner
bc9479b241 Use long options for sphinx-build in GitHub Actions 2024-01-04 02:40:44 +00:00
Adam Turner
cb9656f654 Update all GitHub Actions versions 2024-01-03 03:31:39 +00:00
Adam Turner
a31ebf7f8d Test with released versions of Python 3.12 2024-01-03 03:23:58 +00:00
Adam Turner
868199ec18 Cease using isort 2023-12-26 04:30:29 +00:00
Adam Turner
05d5e2f360 Pin the required versions of mypy and ruff 2023-12-26 04:24:52 +00:00
Adam Turner
b2afe12eb7 Merge Ruff ignores into the select list 2023-12-26 04:04:22 +00:00
Adam Turner
de6d3665ef Allow warnings within the coverage job 2023-09-21 09:27:04 +01:00
Adam Turner
40e1ae143f Name the coverage job 2023-09-21 09:21:50 +01:00
Adam Turner
c843b31686 Run fewer test jobs
Only test with the newest and oldest supported versions of Docutils
on all but the latest supported version of Python.
2023-09-21 09:19:33 +01:00
Adam Turner
58fdd344d3 Use the correct path to the JavaScript tests workflow 2023-09-21 09:17:41 +01:00
Adam Turner
22741540f3 Do not install graphviz on the LaTeX container image
graphviz is pre-installed, so there's no point installing it.
2023-09-21 09:16:11 +01:00
Adam Turner
9298de548f Update CI configuration
- Merge LaTeX and Coverage into the main CI file
- Only run tests when a relevant file changes
- Update ``actions/checkout``
- Set ``-Werror`` only on pytest steps
- Reduce verbosity on the documentation workflow
2023-09-21 09:08:29 +01:00
Adam Turner
3ac143c8bf Enable nit-picky mode in `conf.py` 2023-09-21 09:02:58 +01:00
Adam Turner
655bd15749 Adorn top-level files with a '.rst' suffix 2023-09-14 11:08:17 +01:00
Adam Turner
9bf0f491f9 Update Ruff configuration for 0.0.284 2023-08-13 22:11:15 +01:00
Adam Turner
ad61e41157 Drop support for Python 3.8 (#11511) 2023-07-25 02:07:23 +01:00
Adam Turner
0882914d5c Target PyPI in create-release.yml 2023-07-24 16:52:37 +01:00
Adam Turner
21fbee5e83 Fix OIDC token payload 2023-07-24 16:42:36 +01:00
Adam Turner
1a403e4f9a Add informational log messaging 2023-07-24 16:39:15 +01:00
Adam Turner
258b0ea9fc Revert "Switch to using `github.request`"
This reverts commit f9c89e5d84.
2023-07-24 16:30:36 +01:00
Adam Turner
f9c89e5d84 Switch to using `github.request` 2023-07-24 16:08:01 +01:00
Adam Turner
52c7f66ce1 Use the correct token minting URL for TestPyPI 2023-07-24 15:40:25 +01:00
Adam Turner
6079f28faa Install twine in PyPI publish workflow 2023-07-24 15:26:17 +01:00
Adam Turner
3d43b9efdb Fix github-script syntax in create-release.yml 2023-07-24 15:20:28 +01:00
Adam Turner
a539ce78f5 Add GitHub Actions environment; fix variable names 2023-07-24 15:12:46 +01:00
Adam Turner
c161e9c286 Publish releases to PyPI
Implement the PyPI trusted publisher OIDC flow within GitHub Actions.
2023-07-24 14:58:06 +01:00
Adam Turner
e4d1477c05 Test with Python 3.13 alpha releases (#11507) 2023-07-24 11:46:14 +01:00
Adam Turner
8942a1dddf Test with Docutils 0.20 2023-05-09 19:24:18 +01:00
James Addison
c9d0933e5d linkcheck: Use context managers for HTTP requests (#11318)
This closes HTTP responses when no content reads are required, as
when requests are made in streaming mode, ``requests`` doesn't know
whether the caller may intend to later read content from a streamed
HTTP response object and holds the socket open.

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-05-09 17:09:35 +01:00
Adam Turner
2b1c106bbf Update documentation workflow
- Add 'workflow_dispatch' target
- Force output to use colour
- Print traceback on error
- Use parallel building
2023-05-09 16:51:52 +01:00
Adam Turner
ba7408209e Change concurrency groups for GitHub workflows
This means that 'push' triggered workflows are not cancelled.
2023-04-29 22:44:55 +01:00
James Addison
0fb6716f3f Continuous integration: resolve docutils installation step build failures (#11331)
* continuous integration: add comment explaining PYTHONWARNINGS env var to main unit test workflow

* continuous integration: unit test workflow: report-but-do-not-fail
  when warnings about pkg_resources deprecation are encountered during
  docutils dependency installation

* continuous integration: unit test workflow: instead of reducing the
  severity of all DeprecationWarnings during docutils (non-dev)
  installation, apply two message filters - one each for the warnings
  encountered so far

* continuous integration: unit test workflow: add 'module' and 'line'
  fields for warning filters

Ref:
https://docs.python.org/3/library/warnings.html#describing-warning-filters


---------

Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
2023-04-16 15:05:09 +02:00
Adam Turner
7ecf037280 Enable 'nit-picky mode' for Sphinx's documentation
Fix several reference errors throughout the documentation and set
``nitpick_ignore`` in ``doc/conf.py``.
2023-04-06 23:11:39 +01:00
Adam Turner
52a099b7ec Resolve lint errors from Ruff 0.0.261 2023-04-05 14:19:43 +01:00