A Python tool to enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip 🔧 Able to be adopted incrementally - ⚡ Implemented with no runtime impact ♾️ Interoperable with your existing systems 🦀 Written in rust
(if marking domain_two as a deprecated dependency)
Here's what it looks like in action!
This is necessary to support per-dependency configuration, which we'll likely expand in the future. Included is a migration handler which will auto-update every project config to the new format when it's run.
Note that for now we'll still lose comments from the file when this happens.
deprecated spits out a warning, but still returns the exit code 0. I debated adding a flag to fail on deprecations, but for now you can achieve the same thing by just removing the dependency from depends_on.
This is also a breaking change for tach show --web - I'll set up changes on the web server to go out alongside the release of this feature. Fixes #184!
Bonus - expanded the test suite a little bit and added caching for deps! Takes it from about 3 min -> 1 min
Add support for specifying a dependency is
deprecated
. This involves a breaking change to thetach.yml
spec: From:to
(if marking
domain_two
as a deprecated dependency)Here's what it looks like in action!
This is necessary to support per-dependency configuration, which we'll likely expand in the future. Included is a migration handler which will auto-update every project config to the new format when it's run. Note that for now we'll still lose comments from the file when this happens.
deprecated
spits out a warning, but still returns the exit code 0. I debated adding a flag to fail on deprecations, but for now you can achieve the same thing by just removing the dependency fromdepends_on
.This is also a breaking change for
tach show --web
- I'll set up changes on the web server to go out alongside the release of this feature. Fixes #184!Bonus - expanded the test suite a little bit and added caching for deps! Takes it from about 3 min -> 1 min