-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
cpython
interaction issue (undefined symbol: _PyModule_Add
) which seems to occur with poetry
on python=3.11.0
#8452
Comments
cpython
issue which seems to be caused by poetry
cpython
interaction issue which seems to be caused by poetry
You haven't said what you think this project should be doing: but I expect a merge request fixing whatever it is that you think is broken would be welcome |
I have no idea what I think this project should be doing, nor do I have the expertise to submit a merge request to fix it. Anecdotally, my read of the original issue thread is that there's some sort of ABI interaction (and possibly, It seems that updating Python version to 3.11.5 fixes the problem with latest If anything, it seems useful to have a issue which tags this problem for other users -- as I had to dig deep in my CI logs (and then, Googling to find the above issue in Does that sound fair? |
cpython
interaction issue which seems to be caused by poetry
cpython
interaction issue (undefined symbol: _PyModule_Add
) which seems to occur with poetry
on python=3.11.0
if you can provide a way to reproduce a problem and a reason to think that it's a poetry bug, then raising an issue is the right thing to do. However you haven't done either of those - or even said what the problem is that you are trying to report. I don't see anything useful that anyone can do with this. |
Sure, I can attempt to put together a reproducer. Separately — I’m just trying to be helpful by pointing out something I noticed while developing a package, and finding a thread where several people seemed to note that the same issue stemmed from something in poetry — all seemingly users of poetry. After a search for similar issues, I decided to open one assuming it would be useful for someone to know about outside of the cpython repo (perhaps, say, in poetry — a common use point for responders in the linked issue) You are of course allowed to respond in whatever way you choose — but I’m a little surprised that your response is “fix it yourself, and it’s not useful to know about this” irrespective of whether I can provide a reproducer. Why would I want to contribute a PR to a package when a maintainer responds in that sort of way? |
Here's a simple reproducer (as a repo, with a CI job): https://github.com/femtomc/8452-minimal-repro/actions/runs/6242454039/job/16946411608 I don't believe that the other actions are causing the issue e.g. https://github.com/snok/install-poetry/blob/main/main.sh (for instance) is using the officially recommended way to install I've created two jobs -- one with |
I'm sorry that you haven't enjoyed getting there: but we are now in an infinitely more useful place than where we started! Thing that come to mind
this stack includes both python3.9 and python3.11, which seems unlikely to be what's wanted I've never used nox-poetry and have no idea what requirements it has - or ought to declare - on the relationship between the nox / poetry / nox-poetry environments. I think that to convincingly make this a poetry bug the next step is to eliminate that complication from the repro. (You also could maybe ask the nox-poetry people for comment) Edit: I further notice that even in the passing case, nox is warning |
I notice that stack also includes python 3.11.5, even though it's from the intended python 3.11.0 repro. Perhaps what you are discovering here is actually some confusion in github's caching of tools in CI pipelines. |
I will retry and remove |
Drive by comment: The _PyModule_Add symbol was added in 3.11.5 and is also used by some of the included extension modules in CPython. Afair this is the first time such a change happened with a bugfix release in the past years. So this exposes broken environments where libpython and the stdlib of different cpython patch versions are mixed for some reason. |
…sue (#121) ### This PR fixes continuous delivery of Stax Orchestrator to the Innovation Prod account <img width="1489" alt="image" src="https://github.com/Versent/stax-orchestrator/assets/42393225/030c7715-e8fd-4303-b81b-7eb77a9cf656"> The fix is to pin github actions python version to 3.11.4 as there are incompatibility issues with cpython in 3.11.5. This is a known issue and can be tracked [here](python-poetry/poetry#8452).
Root cause is as identified by @lazka. This is not a Poetry issue, but rather an issue with the system environment setup. The project at https://github.com/snok/install-poetry is not affiliated with nor maintained by the Poetry project maintainers. Closing this issue as there is no Poetry action here. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello! Recently my CI/CD pipeline (with
poetry
-- installed via https://github.com/snok/install-poetry) has been broken suddenly. I tracked the problem to this issue -- which seems to involve some interaction withpoetry
:python/cpython#108525
As far as I can tell, there's no open issue investigating this.
The text was updated successfully, but these errors were encountered: