blakeNaccarato / copier-python

Copier template for Python projects
https://blakenaccarato.github.io/copier-python/
MIT License
4 stars 0 forks source link

Removing a dependency doesn't trigger lock #397

Closed blakeNaccarato closed 2 months ago

blakeNaccarato commented 4 months ago

To-do

Please check that this bug hasn't been reported before

Please confirm that this bug affects the latest version

Please indicate which operating system(s) you are using

Expected behavior

Removing a dependency should trigger a lock.

Current behaviour

It doesn't. Probably because we're only checking that all direct dependencies are in the lock.

Steps to reproduce

Remove any direct dependency and sync. The lock won't be triggered.

Possible solution

Also check that all direct dependencies in the lock are still direct dependencies, as well as with submodules.

blakeNaccarato commented 3 months ago

Fixed in https://github.com/blakeNaccarato/copier-python/commit/1dc630c8b21dd35f02289dc14c77bfe01e2cd3f9, need to attach a changelog entry to this.