-
Notifications
You must be signed in to change notification settings - Fork 418
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
New release on PyPi? #114
Comments
Thanks for the ping, if you think that'd be useful, I can try to find some time to make one this week-end! |
I think that would be great! Don't hesitate to ping me whenever this happens, I could then look into updating the recipe on conda-forge and see how that goes. |
Just out of curiosity, is there any news on this topic? |
@lucasb-eyer, just another shout out that a new release on pypi would be very helpful! Thanks for the consideration! |
I think that a solid first step here would be to define what the next version is going to be called, maybe One oddity, there are three releases on PyPi: Line 23 in 0d53acb
I'm suggesting this step as I believe that I could actually get a conda-forge recipe in place pointing at the repo directly instead of at PyPi (having a release on PyPi would be the best approach of course). |
Hi there, just a few comments from the conda-forge side:
I can help with 1 when #116 is merged. I can also send PRs to implement 2 and 3 if you are interested in automating those parts. |
Ping @maximlt just to get this back on the radar! :) |
Oops, sorry @maximlt ! It's @lucasb-eyer who can save the day! |
@lucasb-eyer apologies for the ping, but it would greatly help our cause if you are able to merge #116 so @ocefpaf can make a new conda-forge release We are building a whole family of end-to-end data-model-pipeline tools for to carry image segmentation (user-interactive and automated) including this and this and even this for mapping with underwater sonar, that are quite reliant on your excellent pydensecrf port. While these repos don't have many stars (because they are used by academics mostly), they are in fact used by many research groups and all of these tools are in danger of becoming hard to manage because of the current python 3.6 limitation ... I also hope to revive some professional teaching materials that have used pydensecrf for 4+ years (I could go on - I have been a heavy user!) This will benefit a lot of users, other than us - pydensecrf seems to be the go-to library for a great number of applications involving densification of spare labels conditional on image features, and post-processing of raw softmax scores from ML segmentation models Thanks for your consideration! |
This request is now 161 days old @lucasb-eyer |
We would be very grateful for your attention |
@dbuscombe-usgs, @maximlt and @ocefpaf , perhaps it would be best to fork this project so we can get a new release on conda-forge? |
Our options are:
Note that, while I'm usually against option 3, maybe the number of users here is not that bad and a hard fork could work. @lucasb-eyer would you consider option 2? |
thanks for laying out those options @ocefpaf I think a hard fork could work for our purposes - might be the easiest for us to keep track of and maintain - thanks! |
I don't have a skin in the game but that seems to be the best option. If you are proceeding that way feel free to ping me when you mint a new release and I'll update the conda-forge package. |
Ok, I could fork it to my repo, and then put it up on pypi @rsignell-usgs @maximlt sound ok? What are we calling it, since "pydensecrf" is already taken? Any thoughts on versioning? |
Just to recap the current state (correct me if I'm wrong):
I've never forked a project and feel a little hesitant pushing in that direction. I'm thinking about a potential alternative, could you please let me know if it makes sense @ocefpaf ? I've got a PR opened on this repo to bump the version declared in the setup.py file to |
Yes. It makes sense. Avoiding a hard fork is usually the best option. However, it seems that the maintainer here moved on. Ideally we could "get the keys" to this repo and the PyPI namespace. We already asked in #114 (comment) and did not get any response.
It is not a bad plan but in conda-forge would need a stable release instead of another RC*. Also, we cannot point to your branch b/c that is transient, all the changes should be recorded in a patch (making it a bit unsustainable if the patch is too big and/or never merged upstream). With all that said the hard fork is probably the only option for long term maintenance of this package. * There are rules for RC releases to never be in the main channel. If pydensecrf 1.0rc3 is installable via the main channel it is a mistake in conda-forge. |
@maximlt BTW, I tried to check the changes that happened since the last PyPI release to see if we can make a patch instead. However, b/c there was never a tag here in the repo, we have no idea what commit corresponds to the PyPI release and how many more after it :-/ |
OK, update... What is holding you up is the lack of pydensecrf on Python >3.6 or a new feature bug fix? B/c the former seems be an easy fix on conda-forge side and I can try to build it for Python 3.7 to 3.10. The latter bring us back to the fork discussion. |
Thanks a lot for looking into that @ocefpaf 🙏 Yes as you said it's not possible for us to know what commit corresponds to the latest PyPi, although given the dates I'd assume it happened right after this commit: 0632813 Since there were just a couple of PRs/commits, these two being to me the most useful:
Exactly that. I don't think there's been any new feature since the latest PyPi release. Maybe the second PR I listed above would be useful to conda-forge to build on Windows, I can't really tell though so if you could have a very quick look at it to confirm that would be great.
|
Thanks! The first one is not necessary for conda-forge b/c already have the concept of build/host dependencies long before pep517/518.
Yep, the second one we will need. See conda-forge/pydensecrf-feedstock#10 (comment) |
That is helpful and, together with the info in #114 (comment), I believe conda-forge/pydensecrf-feedstock#10 will have everything that you need.
The pydensecrf package pre-dates https://github.com/conda-forge/cfep/blob/main/cfep-05.md. I'm just going to pretend I did not see that ;-p |
Thanks @ocefpaf, this looks like it should work! Installs fine on Linux and Windows against python 3.10.5 |
This is probably way too late, but I just merged the PR that bumps the version. I hope it can still be helpful to someone, and apologize for my lack of response :( |
If useful, given this package seems not actively maintained but highly useful, you can use this fork which allows you to |
The last release on PyPi -
pydensecrf 1.0rc3
- dates from 2018. Is there a new release planned?I believe this would help fixing the automatic builds attempted by conda-forge (https://github.com/conda-forge/pydensecrf-feedstock/pulls). conda is a great way to install a library like
pydensecrf
whose install process can be challenging for some users given their skills and the platform they use.The text was updated successfully, but these errors were encountered: