Skip to content
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

Support meson-python or similar #391

Open
monego opened this issue Dec 2, 2023 · 2 comments
Open

Support meson-python or similar #391

monego opened this issue Dec 2, 2023 · 2 comments
Labels
community New: Issue Highlight a new community raised "generic" issue Type: Infrastructure

Comments

@monego
Copy link

monego commented Dec 2, 2023

📰 Custom Issue

Extensions in Cython and other compiled languages can be built by newer build backends based on PEP 517 and PEP 621. I expect this move to ease the side of packagers and others who have to build from source, as well as that of maintainers who would have less code to maintain than that of setup.py. The downside is that it adds an extra dependency.

I had this idea because I always get a circular import error while trying to package (building from source) cf-units for GNU Guix:

E   ImportError: cannot import name '_udunits2' from partially initialized module 'cf_units' (most likely due to a circular import) (/tmp/guix-build-python-cf-units-3.2.0.drv-0/cf-units-3.2.0/cf_units/__init__.py)

In 3.1.0 and before that error would happen in build time, before I could compile the Cython extensions. But in 3.2.0 it only happens when running the test suite. That hints of a change in setup.py, but I haven't investigated much.

@monego monego added the New: Issue Highlight a new community raised "generic" issue label Dec 2, 2023
@scitools-ci scitools-ci bot removed this from 🚴 Peloton Dec 15, 2023
@ESadek-MO
Copy link

@SciTools/peloton don't really have the time or resources to complete this, so closing this as unplanned. Sorry for the inconvenience!

@ESadek-MO ESadek-MO closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
@scitools-ci scitools-ci bot removed this from 🚴 Peloton May 2, 2024
@pp-mo
Copy link
Member

pp-mo commented Sep 10, 2024

Time to reconsider this, I think ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community New: Issue Highlight a new community raised "generic" issue Type: Infrastructure
Projects
Status: No status
Status: No status
Development

No branches or pull requests

5 participants