File tree Expand file tree Collapse file tree 8 files changed +82
-14
lines changed
Expand file tree Collapse file tree 8 files changed +82
-14
lines changed Original file line number Diff line number Diff line change 1+ python-tinycss (0.4-8) unstable; urgency=medium
2+
3+ * Team upload.
4+ * Drop build-dependency on python3-pytest-flake8 (see #1068502).
5+
6+ -- Colin Watson <cjwatson@debian.org> Sun, 23 Mar 2025 21:03:59 +0000
7+
8+ python-tinycss (0.4-7) unstable; urgency=medium
9+
10+ * Team upload.
11+ * Fix documentation build for Sphinx 8.0 (closes: #1090163).
12+ * Use pybuild-plugin-pyproject.
13+ * Run tests during build.
14+ * Enable autopkgtest-pkg-pybuild.
15+ * Use dh-sequence-python3 and dh-sequence-sphinxdoc.
16+ * Simplify some debhelper overrides.
17+
18+ -- Colin Watson <cjwatson@debian.org> Tue, 17 Dec 2024 14:22:33 +0000
19+
120python-tinycss (0.4-6) unstable; urgency=medium
221
322 [ Debian Janitor ]
Original file line number Diff line number Diff line change 1+ docs/.build/
12tinycss.egg-info/SOURCES.txt
23tinycss/speedups.c
Original file line number Diff line number Diff line change @@ -5,17 +5,20 @@ Maintainer: Debian Python Team <team+python@tracker.debian.org>
55Uploaders: Michael Fladischer <fladi@debian.org>,
66 Felix Krull <f_krull@gmx.de>
77Build-Depends: debhelper-compat (= 13),
8- dh-python,
8+ dh-sequence-python3,
9+ dh-sequence-sphinxdoc,
910 cython3,
11+ pybuild-plugin-pyproject,
1012 python3-all-dev,
13+ python3-pytest <!nocheck>,
14+ python3-pytest-cov <!nocheck>,
1115 python3-setuptools,
1216 python3-sphinx
1317Standards-Version: 3.9.8
1418Homepage: https://github.com/Kozea/tinycss
1519Vcs-Browser: https://salsa.debian.org/python-team/packages/python-tinycss
1620Vcs-Git: https://salsa.debian.org/python-team/packages/python-tinycss.git
17-
18-
21+ Testsuite: autopkgtest-pkg-pybuild
1922
2023Package: python3-tinycss
2124Architecture: any
Original file line number Diff line number Diff line change 1+ From: Colin Watson <cjwatson@debian.org>
2+ Date: Tue, 17 Dec 2024 14:09:59 +0000
3+ Subject: Remove pytest flake8 and isort configuration
4+
5+ `pytest-isort` isn't currently packaged in Debian, and running
6+ `pytest-flake8` as a downstream distributor is inconvenient.
7+
8+ Last-Update: 2024-12-17
9+ ---
10+ setup.cfg | 6 +-----
11+ 1 file changed, 1 insertion(+), 5 deletions(-)
12+
13+ diff --git a/setup.cfg b/setup.cfg
14+ index 2c35592..5c4105e 100644
15+ --- a/setup.cfg
16+ +++ b/setup.cfg
17+ @@ -9,12 +9,8 @@ upload-dir = docs/_build/html
18+ test = pytest
19+
20+ [tool:pytest]
21+ - addopts = --flake8 --isort --cov --ignore=test/cairosvg_reference
22+ + addopts = --cov --ignore=test/cairosvg_reference
23+ norecursedirs = dist .cache .git build *.egg-info .eggs venv cairosvg_reference
24+ - flake8-ignore = docs/conf.py ALL
25+ - isort_ignore =
26+ - docs/conf.py
27+ - setup.py
28+
29+ [egg_info]
30+ tag_build =
Original file line number Diff line number Diff line change 1+ sphinx-8.0.patch
2+ remove-pytest-flake8-isort.patch
Original file line number Diff line number Diff line change 1+ From: Colin Watson <cjwatson@debian.org>
2+ Date: Tue, 17 Dec 2024 14:00:23 +0000
3+ Subject: Fix documentation build for Sphinx 8.0
4+
5+ Bug-Debian: https://bugs.debian.org/1090163
6+ Last-Update: 2024-12-17
7+ ---
8+ docs/conf.py | 2 +-
9+ 1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+ diff --git a/docs/conf.py b/docs/conf.py
12+ index fa7da0a..609e398 100644
13+ --- a/docs/conf.py
14+ +++ b/docs/conf.py
15+ @@ -249,4 +249,4 @@ texinfo_documents = [
16+
17+
18+ # Example configuration for intersphinx: refer to the Python standard library.
19+ - intersphinx_mapping = {'http://docs.python.org/': None}
20+ + intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
Original file line number Diff line number Diff line change 1+ tinycss/tests
Original file line number Diff line number Diff line change 44# export DH_VERBOSE=1
55
66export PYBUILD_NAME =tinycss
7- # Disable tests because not all dependencies have been packaged yet:
8- # * pytest-flake8
9- # * pytest isort
10- export PYBUILD_DISABLE =test
7+ export PYBUILD_TEST_ARGS =tests
118
129export DEB_BUILD_MAINT_OPTIONS=hardening =+all
1310
1411% :
15- dh $@ --with python3,sphinxdoc -- buildsystem=pybuild
12+ dh $@ --buildsystem=pybuild
1613
17- override_dh_auto_build :
18- dh_auto_build
14+ execute_after_dh_auto_build :
1915 PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
20-
21- override_dh_clean :
22- rm -rf docs/.build
23- dh_clean
You can’t perform that action at this time.
0 commit comments