-
Notifications
You must be signed in to change notification settings - Fork 20
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
Drag and drop source code and tests for poetry-semver
#45
Drag and drop source code and tests for poetry-semver
#45
Conversation
Pytest is already a dev dependency for CI so that shouldn't be a problem, and the build pipeline seems to pass so it all looks good to me. I'll leave it a little as it seems you're still adding changes. |
Oh almost - seems like you haven't run the You just need to do You can also manually run it with |
wonderful, many thanks @carlio 🍺 I should be done now but I am not 100% sure about editing the |
For It's a bit of a hassle, for future reference the best way to do things is to do |
cheers! Doing that now 👍 |
OK mate, I ran the regen of the poetry lock file and pre-commit (black and isort and all others passed yay!) - I reckon we're good to go 🍻 |
Ok! Seems some files still need formatting but no worries, I will merge anyway because I will need to update the version and do an upload with the new code anyway, so I'll fix any missing pre-commit issues at the same time. Cheers for the PR and thanks for your understanding about not wanting to add poetry as a dependency! |
ah nice one, cheers muchly @carlio - I had just pushed the isort-ed tests right when you were merging 😁 Many thanks for this, now with a new version I can go build the conda package, so that prospector can be upped in version too, very cool stuff! |
@valeriupredoi Here is your shiny new 1.2.0 release - https://pypi.org/project/requirements-detector/1.2.0/ |
wait never mind yanking that, the tests failed |
holy cow, that was fast! Brilliant, very many thanks, mate! On to conda forge now 😁 |
Sorry I should have checked the CI output. The test ran for me locally because I still had the poetry-semver package installed. Gimme a minute! |
blast! May fault, sorry, mate - just saw that stray import I never fixed, do you want me to fix it? |
it's three of them in
|
No worries I should have double checked the CI output, I forgot my local environment would not be completely clean. Anyway I fixed it - just added the version |
you a legend! Sneaky bugger that one - passed all my tests too but I had forgotten that I had the |
All good, I shall go to bed now content with a new release 👍 |
sleep well, mate 🌙 |
@carlio and myself had a discussion in #43 and the consensus was to bring over the code from the now-archived
poetry-semver
here. This is the PR that does that.@carlio mate, I still need to check the dependencies that
requirements-detector
will need from porting thepoetry-semver
code here, but by-and-large the thing works (provided one haspytest
, I ran the tests and they run fine). Cheers muchly for your support 🍺