Commit Graph
200 Commits
Author SHA1 Message Date
Adam Turner ad0497b89d Drop support for Python 3.11 (#14153) 2025-12-05 22:12:06 +00:00
Adam Turner a2f7b41806 Test with Python 3.15 alpha releases (#13654) 2025-06-11 16:16:10 +01:00
Adam Turner 2c2159fb9e Adopt Prettier for JavaScript formatting (#13581) 2025-05-24 02:15:04 +01:00
Adam Turner e979b1faaf Use the PEP 735 `[dependency-groups]` table (#13073) 2025-03-20 18:28:11 +00:00
Adam Turner bec014cf7e Cease using flake8 (#13204) 2025-01-02 21:01:20 +00:00
Adam Turner ed8045ceea Test on Python 3.14 (#12978) 2024-10-18 01:22:37 +01:00
Adam Turner 541bf7bc67 Drop support for Python 3.10 (#13000) 2024-10-17 20:59:41 +01:00
Adam DangoorandAdam Turner 26c30b5290 Add an initial pyright configuration (#12924)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-28 12:10:23 +01:00
Adam Dangoor 5b8408aac7 Update tox lint to more closely match GitHub actions lint workflow (#12923) 2024-09-27 13:48:19 +01:00
Adam TurnerandJeremy Maitin-Shepard fadb6b10cb Stop exiting early with `--fail-on-warnings; add --exception-on-warning` (#12743)
Co-authored-by: Jeremy Maitin-Shepard <jbms@google.com>
2024-08-13 17:12:42 +01:00
Adam Turner 9e3f4521db Drop support for Python 3.9 (#12633) 2024-07-22 15:05:15 +01:00
Stephen Finucane 5ea16e748b Add tox `lint` target (#11602)
Signed-off-by: Stephen Finucane <stephen@that.guru>
2024-07-06 19:42:20 +01:00
Chris Sewell 13b16c9b04 DOCS: hide todo admonitions on RTD (#12442)
`todo` admonitions should not be present in the user-facing documentation (built on ReadTheDocs)
2024-06-19 15:15:31 +02:00
Chris Sewell b97d14a8b0 Improve tox docs config (#12434)
For example, allow for `CLEAN=true BUILDER=man tox -e docs -- -j4`, 
to use the `man` builder on a clean build, with 4 processes
2024-06-17 11:52:52 +02:00
Chris Sewell 43276dcbac 🔧 add tox environment for mypy (#12376) 2024-05-15 07:18:31 +02:00
Chris Sewell 71d50a8658 🔧 Update ruff v0.4.4 (#12375) 2024-05-15 07:00:55 +02:00
Adam Turner 794324ac00 Declare support for Python 3.13 2023-08-17 04:28:52 +01:00
Adam Turner ad61e41157 Drop support for Python 3.8 (#11511) 2023-07-25 02:07:23 +01:00
Adam Turner c17300aa7a Treat Python warnings as errors during testing 2023-02-15 04:34:10 +00:00
Adam Turner ff852bc7c3 Update GitHub Actions workflows 2023-02-15 03:10:50 +00:00
Adam Turner 8634fbce60 Adopt the Ruff code linting tool
https://github.com/charliermarsh/ruff
2022-12-29 17:00:27 +00:00
Jean-François BandDaniel Eades 7418d2ccc4 Deactivate (provisorily) Python12-dev testing (#11035)
* fix flake8 warnings

* Deactivate (provisorily) testing with 3.12-dev

(refs:
https://github.com/sphinx-doc/sphinx/pull/10995#issuecomment-1330310586
)

* Escape # in tox.ini for tox 4 compatibility ('du-latest' tests)

Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2022-12-16 12:41:54 +01:00
Adam Turner 33d65fbdaf Merge Docutils master tests into the main workflow 2022-10-27 09:53:56 +01:00
Adam Turner 995e2615a7 Test on Python 3.12 prereleases 2022-10-27 09:48:14 +01:00
Adam Turner e70a0fac6d Merge branch '5.x'
# Conflicts:
#	.github/workflows/main.yml
#	CHANGES
#	sphinx/__init__.py
#	sphinx/domains/c.py
2022-10-16 11:24:18 +01:00
Adam Turner cef1a030cd Update image for LaTeX job (#10916) 2022-10-12 23:01:55 +01:00
Adam Turner bb62d2a2ee Increase minimum Docutils to 0.18 2022-09-27 18:31:47 +01:00
Adam Turner 080517ce55 Increase minimum Docutils to 0.17 2022-09-27 18:31:47 +01:00
Adam Turner 4660b62de0 Drop Python 3.7 2022-09-27 18:31:47 +01:00
Adam Turner 7649eb1505 Clean up after dropping Python 3.6 2022-09-27 18:31:47 +01:00
Hugo van Kemenade d5b28997f2 Declare support for Python 3.11 (#10871) 2022-09-27 14:21:55 +01:00
Adam Turner b347657809 Use declarative metadata
- Move to pyproject.toml metadata
- Update references to `setup.py`
- Use pypa/build
- Update workflows and tooling
2022-09-13 10:31:27 +01:00
Chris HoldgrafandAdam Turner eb0a6c574f Update documentation structure and theming (#10677)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-07-18 22:48:28 +01:00
Adam Turner 9112cfeb8d Refresh the Sphinx13 theme (#10652) 2022-07-10 22:48:15 +01:00
Adam Turner 1f21e973d4 Use released Docutils 0.19 on CI 2022-07-06 19:18:10 +01:00
Adam Turner 68bc916cf4 Test with Docutils 0.19 prereleases (#10598) 2022-06-25 22:15:30 +01:00
Julien Palard 4a67ea1da3 doc linting: Re-enable a check (#10573) 2022-06-19 23:29:00 +01:00
Julien PalardandAdam Turner 956cddb7d4 Replace doclinter with sphinx-lint (#10389)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-16 19:32:09 +01:00
Adam Turner 65ae948eca Split out coverage 2022-05-02 17:47:46 +01:00
Adam Turner 3420d15cb9 Bump Docutils dependency 2022-04-19 03:09:45 +01:00
Takeshi KOMIYA a0f5f240ea Merge branch '5.x' into encoding-warnings 2022-04-17 13:10:08 +09:00
Adam Turner 26c5c40b50 Enable the opt-in EncodingWarning
https://docs.python.org/3/library/io.html#io-encoding-warning
2022-04-16 19:30:45 +01:00
Adam Turner ec0c13c26d Don't use deprecated setup.py build_sphinx 2022-04-16 19:08:27 +01:00
Takeshi KOMIYA ab5b8dc9ee CI: refactor tox.ini; Install HEAD of docutils directly 2022-01-08 22:57:31 +09:00
Takeshi KOMIYA c16b36c499 CI: Remove unused no longer needed PYTHONWARNINGS 2022-01-02 15:03:20 +09:00
James Knight 334bdceeff tox: support coverage on win32
When invoking the `coverage` on a Windows environment, the following
exception may generate:

    ...
        raise CoverageException(f"Couldn't read {fname!r} as a config file")
    coverage.exceptions.CoverageException: Couldn't read 'C:mycodesphinx/setup.cfg' as a config file
    ERROR: InvocationError for command 'C:\mycode\sphinx\.tox\coverage\Scripts\python.EXE' -X dev -m pytest --durations 25 (exited with code 1)

Enclosing with configuration file with quotes can improve the handling
of a provided path on multiple platform types.

Signed-off-by: James Knight <james.d.knight@live.com>
2021-12-05 14:24:14 -05:00
Hugo van Kemenade 2d9c6db3ce Remove py workaround 2021-11-05 13:14:42 +02:00
Takeshi KOMIYA 0f0b93df9e Merge pull request #9702 from tk0miya/test_with_docutils-latest
test: Do test with the HEAD of docutils
2021-10-09 13:57:37 +09:00
Takeshi KOMIYA 5a79bafe85 CI: Install unreleased "py" package for 3.11-dev 2021-10-09 13:00:48 +09:00
Takeshi KOMIYA f13ad80207 Support Python 3.10 2021-10-07 02:34:44 +09:00