BelgianBiodiversityPlatform / python-dwca-reader

🐍 A Python package to read Darwin Core Archive (DwC-A) files.
BSD 3-Clause "New" or "Revised" License
43 stars 21 forks source link

conda repository version is almost 7 years out-of-date #85

Closed pjgoodall closed 2 years ago

pjgoodall commented 3 years ago

Hi, https://anaconda.org/auto/python-dwca-reader points to BelgianBiodiversityPlatform/python-dwca-reader as its source. The version in anaconda is 6 years and 7 months old. Apart from its senility, it doesn't load because there is no provider of lxml

conda is a very popular python environment manager, and it would be a good thing if the dwca_reader was ready to use there.

Cheers, --Peter G

pjgoodall commented 3 years ago

Would bioconda be a good option for getting dwca-reader in good shape on the conda platform?

niconoe commented 3 years ago

Thanks for the report, @pjgoodall!

I actually had no idea there was a version available in anaconda since I mostly use pip/virtualenv myself. It was probably uploaded there by someone else.

But you're absolutely right that it would be a good thing, and I'm always willing to make that tool easier to install and use.

I have no experience building conda packages, but I guess it shouldn't be too complicated (current-python-dwca reader doesn't need lxml anymore since a long time, which make it easier to install/package).

So, I'll have a look into this. Unfortunately I cannot guarantee a deadline :)

Thanks again for pointing the issue, that's very much appreciated!

pjgoodall commented 3 years ago

Hi Nicolas,

Biconda seems to be setup for ease of use. I started looking at it when I made the report. I think it’s designed to allow several alternative publishing processes. Some look as simple as encapsulating a pip install in a shell script, or I think you can go the full conda experience with explicit dependencies. I believe it it will auto-publish new releases as well.

Cheers, —Peter Goodal

On Mon, 9 Nov 2020 at 20:00, Nicolas Noé notifications@github.com wrote:

Thanks for the report, @pjgoodall https://github.com/pjgoodall!

I actually had no idea there was a version available in anaconda since I mostly use pip/virtualenv myself. It was probably uploaded there by someone else.

But you're absolutely right that it would be a good thing, and I'm always willing to make that tool easier to install and use.

I have no experience building conda packages, but I guess it shouldn't be too complicated (current-python-dwca reader doesn't need lxml anymore since a long time, which make it easier to install/package).

So, I'll have a look into this. Unfortunately I cannot guarantee a deadline :)

Thanks again for pointing the issue, that's very much appreciated!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BelgianBiodiversityPlatform/python-dwca-reader/issues/85#issuecomment-723871150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFPYWXWUGG4CJNU6LW4F3LSO6VUHANCNFSM4TOVAWEQ .

JWCook commented 3 years ago

I'm not too familiar with bioconda, but I could help get this on conda-forge if that would work for you?

niconoe commented 3 years ago

Any option that would help conda users easily install the package would be very welcome!

JWCook commented 3 years ago

Submitted a PR for this here: https://github.com/conda-forge/staged-recipes/pull/14969

pjgoodall commented 3 years ago

Great - thanks very much

On Fri, 21 May 2021 at 13:31, Jordan Cook @.***> wrote:

Submitted a PR for this here: conda-forge/staged-recipes#14969 https://github.com/conda-forge/staged-recipes/pull/14969

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BelgianBiodiversityPlatform/python-dwca-reader/issues/85#issuecomment-845626992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFPYWWNVDBQMYMZQ6L24SDTOXHZXANCNFSM4TOVAWEQ .

JWCook commented 3 years ago

Done. You can now install this package with conda install -c conda-forge python-dwca-reader.

@niconoe Conda builds will automatically get triggered whenever you release to PyPI, so there's nothing else you need to do for now. If for some reason you or someone else needs to make manual changes to the conda recipe, you can add yourself as a maintainer by opening a PR on the feedstock repo.