-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Parsing slow because of noarch build #30
Comments
I think we would welcome a pull request to build the optimized version of the package, even if it's a starting point. We can tweak or make suggestions as needed. Thank you for bringing this to our attention and volunteering to give a pull request a go. |
Great, I'll give it a shot. Thanks! |
Looks like they control it with an env var |
@xylar or @ocefpaf, are either of you aware of another feedstock that's a good example of translating a poetry package into a conda recipe? Looking at the pendulum repo, I see that there's a make file that runs the build-wheels.sh script for manylinux_x86_64 and manylinux1_i686. I'm not quite clear on how it's dealing with windows. Thanks for your help! |
In terms of conda-forge all you need is to add poetry as a build/host dependency. That is already in the recipe.
We don't need all the missing part was to set the environment variable that triggers the extension build and, as you reported above, remove the |
Thanks very much! I'm sorry I wasn't able to sort out the PR for you but I appreciate your patience :) |
Issue:
It looks like this recipe only builds the pure python version of pendulum, so the parsing is significantly slower than the version you get from pip which includes the compiled extensions.
String parsing using pendulum installed with conda:
String parsing using pendulum installed with pip
Here's the difference in the site-packages directory:
I haven't created a conda recipe before, but I'm happy to have a go at creating a pull request. The situation is pretty much the same on Windows.
conda_pendulum environment (
conda list
):pip_pendulum environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: