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 B
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 Holdgraf
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 Palard
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
Takeshi KOMIYA
6fc96f412a
test: Do test with the HEAD of docutils
2021-10-03 20:15:36 +09:00
Daniel Hahler
e89de152d8
ci(tox.ini): add COLORTERM to passenv
...
This is required for [kitty](https://sw.kovidgoyal.net/kitty/ ), which
uses TERM=xterm-kitty, which is not detected as being a colored
terminal, without its `COLORTERM=truecolor` also being passed [1].
1: d194e0f490/sphinx/util/console.py (L70-L71)
2021-08-30 10:32:30 +02:00
Takeshi KOMIYA
2308a2fffa
test: Test with the bugfixed version of each docutils release
2021-04-11 12:44:04 +09:00
Takeshi KOMIYA
41a377fee5
Merge branch '3.x'
2021-04-04 00:06:45 +09:00
Takeshi KOMIYA
cf2d11f947
test: Do test with docutils-0.17 (final)
2021-04-03 23:54:41 +09:00
Takeshi KOMIYA
26d0bb641b
test: Do test with docutils-0.17b1
2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
62a0ee3fef
Merge branch '3.x'
2020-12-31 14:33:09 +09:00
Takeshi KOMIYA
f054b9b976
refactor: Reduce warnings on testing
2020-12-29 19:23:46 +09:00
Takeshi KOMIYA
279e547860
Merge branch '3.x'
2020-11-12 02:50:43 +09:00
Takeshi KOMIYA
64fb1e5624
Merge pull request #8411 from francoisfreitag/devmode
...
Run tests with Python Development mode
2020-11-12 02:20:43 +09:00
François Freitag
22a4ed531c
Run tests with Python Development mode
...
Helps catching more issues with the test suite.
https://docs.python.org/3/library/devmode.html#devmode
2020-11-11 14:20:18 +01:00
François Freitag
0949735210
Sort imports with isort
...
Keep imports alphabetically sorted and their order homogeneous across
Python source files.
The isort project has more feature and is more active than the
flake8-import-order plugin.
Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
2020-11-11 13:19:05 +01:00
Takeshi KOMIYA
8bf84167a3
Merge branch '3.x'
2020-11-05 02:21:47 +09:00
Takeshi KOMIYA
162a0048e5
tox.ini: Do not override $PYTEST_ADDOPTS forcedly
2020-11-05 01:05:36 +09:00
Takeshi KOMIYA
8412347f5d
Merge branch '3.x'
2020-08-14 14:28:58 +09:00
Takeshi KOMIYA
5f420a4d8f
Merge pull request #8090 from tk0miya/remove_pylint
...
Remove pylint task
2020-08-14 01:29:01 +09:00
harupy
2a632598c3
fix
2020-08-14 00:48:41 +09:00