-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retire the use of poetry-semver
#43
Comments
semver
instead of poetry-semver
poetry-semver
Hi there, I have looked into this in the past - #40 - and decided not to do this. The simple fact is that by adding poetry to requirements-detector , and therefore prospector , this would add a huge amount of additional dependencies to CI processes that are using prospector. Poetry has many dependencies.
I will not merge #44 for this reason as it has too many consequences for people's build pipelines as it would introduce additional dependency constraints onto prospector, most of which are transient from poetry and are not needed. However this would likely lead to conflicts with version constraints of the projects that use prospector and I don't like getting lots of bug reports by breaking builds. |
Note that an option that I would accept is simply to copy in the semver package from poetry-semver and bundle it. This way it does not have problems with deprecated (or missing) packages and it does not drag in all of poetry. Doing this basically just freezes the version parsing at the exact same state that poetry-semver is in but this is exactly what's happening by pinning an old, unmaintained separate package. If you want to do this, go ahead - if not I will get around to it tomorrow. |
Hi @carlio many thanks for getting back, mate! I understand the idea behind the deps brought in by
So at least statistically, numbers are not that bad at all. Do you still not want to have poetry in as a dep? If still no, then, the idea of getting the poetry-semver source code in is a good idea, I'll have a stab at it 🍺 |
Well, 126 is twice the amount of 63, which seems to me like something which will double the chance of prospector causing a version constraint problem for people using it. So yes I definitely want to avoid doubling the dependencies involved! |
sounds like a plan! Then if that's OK with you I'll try plop the poetry-semver code in requirements-detector 👍 🍺 |
Yep sounds good |
Hey guys, I am in the process of updating support for python311 for our package and since we use
prospector
, andprospector
depends onrequirements-detector
, I went about and started updating the conda packages for bothprospector
and your package; the one problem that I am facing while updating the conda package forrequirements-detector
is that you depend on, and usepoetry-semver
which doesn't have a conda package candidate, nor does it have a feedstock, nor is it developed any more, it looks like it's now archived. Would you mind if I opened a PR to replace it and its functionality withsemver
instead? Many thanks in advance, cheers 🍺The text was updated successfully, but these errors were encountered: