Debian:
- You can Build-Depend on
debhelper-compat (=version)
and get rid ofdebhelper
as a build-dependency, and ofdebian/compat
(details) - You can Build-Depend on
dh-sequence-foo
and get rid of the correspondingdh-foo
build-dependency, and of the need to add--with foo
indebian/rules
(details) - You can (and should) get rid of
dh-buildinfo
, which is now handled automatically - In salsa.debian.org there is a default CI
pipeline for Debian packages
that works beautifully without needing to add any
.gitlab-ci.yml
to a repository - Add
Testsuite: autopkgtest-pkg-python
todebian/control
, and you get a free autopkgtest that verifies that your packaged Python module can be imported. The default CI pipeline in salsa will automatically run the tests. (specification, details)
Python:
- From Python 3.8, you can use
=
in format strings to make it easier to debug variables and expressions (details):
>>> name="test"
>>> print(f"{name=}")
name='test'
>>> print(f"{3*8=}")
3*8=24
Leaflet:
[abc].tile.openstreetmap.org
links need to be replaced withtile.openstreetmap.org
(details)