-
Notifications
You must be signed in to change notification settings - Fork 69
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
Circular import when importing cylp.cy and submodule(s) #189
Comments
I can replicate this on both Linux and Windows. I'm a bit mystified, since there wasn't much of a change from |
The fix for this was apparently rather simple, but the part that I don't understand is why this was never an issue before. That circular import has been there for a long time, but the error only surfaced when switching to Cython 3. I also don't know why it didn't come up in any testing. If tests pass in #190, I should be able to push out a new release that will hopefully fix the issue shortly. |
@brandon-avantus Can you test? You should be able to download wheels here. |
@tkralphs I can confirm that the new wheels solve the problem. I am able to import without the errors and all my tests are passing on my app. Thank you for the quick turnaround! |
@tkralphs One more request would be to have Windows wheels on PyPI for version 0.92.2. Thanks! |
Yes, they'll be coming shortly. |
Description:
Importing
cylp.cy
orcylp.cy.CyClpSimplex
produces anImportError
due to what appears to be a circular import.Steps to reproduce:
Environment:
OS: Manjaro Linux (rolling distribution)
Python: Python 3.11.5 (main, Sep 2 2023, 14:16:33) [GCC 13.2.1 20230801] on linux
cylp: 0.92.1 (binary install from wheel via pip)
The text was updated successfully, but these errors were encountered: