Closed antonlydell closed 2 months ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
You are right, the range would fix the issue for the python version. But the bug would come back a release later, as this issue is caused by renovate version pinning, which at the moment changes the ranges to exact equal version. This is not intended, i will have to look into that.
In the meantime i think it might be better to just revert the version pinning completely and re-release version 1.0.1 (since you cannot rollback release on pypi).
Ok, sounds good. I do not see the point in restricting the next major version of the dependencies for a library. Could renovate be configured to use ">="?
@WaciX Could you elaborate on what we need to do here?
@abergs This have been fully addressed with different PR's, I will be close it.
Description
In release 1.0.0 the requirements of the package have changed to pinned versions from caret (^) versions. This means that installing passwordless version 1.0.0 requires you to have Python 3.8.18 installed otherwise the installation will fail. In release 0.1.1 the dependency definition was as follows:
I propose a change to ">=" versions rather than caret to avoid unnecessary package lock-in effects if there are no known breaking changes in the next major versions of the dependencies. This also aligns with "better ask for forgiveness rather than permission". If a breaking change is found in a next major version of a dependency, then this issue will likely be found faster and fixed. In worst case, if no fix is available, a new version with a "<" version requirement can be released.
You can decide if you want to also update your test requirements in the same manner.
Proposed change
Steps to reproduce
Install a version of Python >= 3.8.18
Run the command
pip install passwordless==1.0.0
orpython -m pip install passwordless==1.0.0
Example