Closed theroggy closed 1 month ago
The package on PyPI isn't up to date with GitHub. I'll push an updated snapshot to Test PyPI at https://test.pypi.org/project/exactextract/. The dependencies are fairly minimal if you want to build the library from source.
That version indeed works fine. Thanks!
Maybe better to push the version as well to regular/production pypi, e.g. as an alpha version, as the version available there now is ~broken?
I don't know about "broken", but it's nearly 2 months old so it doesn't have this feature.
I'm trying to figure out the right frequency to push development releases to regular PyPI. Any info on best practices would be welcome.
I don't know about "broken", but it's nearly 2 months old so it doesn't have this feature.
Ah, OK, sorry. I misinterpreted the error message as well as the timeline of the pip package vs. when the new feature was introduced. I should have looked better :-(...
I'm trying to figure out the right frequency to push development releases to regular PyPI. Any info on best practices would be welcome.
I wouldn't call it best practices, but based on the projects I'm involved in (not that many), development releases (or rather alpha releases, never encountered development releases) are quite rare and there is no specific frequency. They are only used if there is a need for some broader testing exposure than unit tests can offer. Or, if there is a specific wish/need for someone to get an earlier version (either for broader testing or just to have it earlier), but that's just as rare. Sometimes there are beta releases or release candidates e.g. a few weeks before a feature release, but even those aren't very common.
I think exactextract is now just a bit in a special situation as there isn't a "stable" python release yet?
I think exactextract is now just a bit in a special situation as there isn't a "stable" python release yet?
Yes. Hopefully not much longer, I just need to convince myself that the current API is suitable.
When I run
exact_extract
with any statistic having extra arguments (e.g. "mean(coverage_weight=area_spherical_m2"), I get an error. With a "plain" statistic (e.g. "mean") there is no problem. This is an example of such an error:The problem must be related to my system/installation, as I can reproduce it by running an extract from the exactextract test suite, which runs fine on CI.
I'm working on windows with conda. To try to avoid possible side effects from dependencies, I created a new conda environment and just installed pip and the exactextract pip package:
An easy way to reproduce in my case is to run the following extract from one of the tests in the exactextract test suite: