File: README.md

package info (click to toggle)
python-hypothesmith 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 535; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Pinning dependencies

Hypothesmith pins *all* our dependencies for testing, and disables installation
of any unlisted dependencies to make sure the set of pins is complete.

How does this work?

1. `setup.py` lists all our top-level dependencies for the library,
   and *also* lists the development and test-time dependencies.
2. `pip-compile` calculates all the transitive dependencies we need,
   with exact version pins.  We use `tox -e deps` to make this more
   convenient, and don't bother pinning `pip-tools` as it's always
   run manually (never in CI).
3. `tox` then installs from the files full of pinned versions here!

That's it - a simple implementation but it stabilises the whole dependency
chain and really improves visibility :-)