Closed juftin closed 8 months ago
I'm super happy with this one. It goes along perfectly with https://github.com/juftin/hatch-pip-compile/pull/48. I tested by changing a minor version of a package on the lockfile and it picked it up automatically and installed the new version.
:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
resolves #50
Changes
Instead of only checking packages specified on the
pyproject.toml
when runningself.dependencies_in_sync()
this PR uses all packages from the lockfile instead.This is done by reading an exhaustive list of dependencies from the lockfile and passing them to
hatchling.dep.core.dependencies_in_sync
.This PR uses piptools._compat.pip_compat to interface with the lockfile.