-
Notifications
You must be signed in to change notification settings - Fork 26
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
prebuild.py call causes "build error" #27
Comments
maybe related: |
Hm, I don't think we need the setup.py file, so how about we just keep the
generate-setup-file = false line?
I saw that in the examples I looked at (having the generate-setup-file =
false) but it worked in my setup, so I didn't think it was important and
opted for a shorter change. But if it's breaking your setup, I vote for
just fixing it by including the option, without figuring out why.
…On Fri, Apr 21, 2023 at 4:14 PM jeff ***@***.***> wrote:
maybe related:
python-poetry/poetry#5401
<python-poetry/poetry#5401>
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOYJWZ4IWYXWN6ZBD7Y6SDXCMIGNANCNFSM6AAAAAAXHM44WQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Well but as mentioned, the output is different. Why is the wheel
file a different (at least the name which seems to be less portable,
at least the name says so).
|
Hm, I need to try to reproduce your problem. I'll try.
…On Fri, Apr 21, 2023 at 4:28 PM jeff ***@***.***> wrote:
Well but as mentioned, the output is different. Why is the wheel
file a different (at least the name which seems to be less portable,
at least the name says so).
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOYJW7AHLPI2WBETHT246TXCMJ3NANCNFSM6AAAAAAXHM44WQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Do you have all necessary information? If you remove the whole Does it behave the same on your system? |
I'll take a look tonight (California time) |
Ok, I've reproduced the issue, looked through poetry code, and found that for some bizarre reason, poetry doesn't support using a build script and producing a pure python wheel. Others complain about the same issue: I'm trying a workaround from that issue now. |
I think the lack in underlying poetry is hard to work around. I think the right thing to do is to not use the prebuild script. Originally, it was being used to autogenerate stubs, but you changed my mind on that. Now it's just validating that the submodules got initialized, but we can use the tests to validate that now. I'll make a PR for this trivial change. |
Here's the PR for you: #28 |
SolidPython/pyproject.toml
Line 45 in 4337922
For some reason this causes this error over here when I call
poetry build
:Note: setuptools is installed
changing the pyproject.toml file like this:
makes the call work again, but the build process creates a different file!?!
solidpython2-2.0.1-cp310-cp310-manylinux_2_35_x86_64.whl
instead ofsolidpython2-2.0.1-py3-none-any.whl
@ssuchter Any idea what's going on there?
The text was updated successfully, but these errors were encountered: