Debian:
- You can Build-Depend on
debhelper-compat (=version)and get rid ofdebhelperas a build-dependency, and ofdebian/compat(details) - You can Build-Depend on
dh-sequence-fooand get rid of the correspondingdh-foobuild-dependency, and of the need to add--with fooindebian/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.ymlto a repository - Add
Testsuite: autopkgtest-pkg-pythontodebian/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.orglinks need to be replaced withtile.openstreetmap.org(details)