-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Includes do not seem to work correctly #9904
Comments
You are using the wrong build-backend, please see the docs |
I've switched back to setuptools and ditched poetry and pep517 entirely, funny @dimbleby. |
If you are here for help then please use the right build backend - and make clear what happened vs what you expected to happen. All you have said so far is that it is something to do with include/exclude: but we have no way of knowing what you think poetry is actually doing wrong. If you are here only to vent then: job done, now please close the issue. |
I gave you the sources and the logs. If you are here only to show how you are not here to fix the bugs, job done, now close the issue. |
please say what happened vs what you expected to happen. |
Fourth line
Ninth line
Sixth line
You really challenge one's good faith you are just not here to mock people, sir. |
@Secrus im sorry but certain people seem to easily mistake community sunday nights bug reports for help requests. |
you have forgotten to tell us what the bug is! All that the logs show is that poetry successfully builds a wheel. Presumably there is something that you were expecting either to be included or excluded from that wheel, and for which the opposite is the case. But you haven't said what, and it is hard to guess. In good faith: please tell us what happened vs what you expected to happen. |
|
@dimbleby why have you even start reading the log without having looked at the @Secrus So anyway I've edited the Again, here is the pyproject.toml, here is the master branch targeting build recipe. The log is being produced right now, but really I struggle to see at all how poetry may be fit at all for system packaging, since despite the various flags I have switched I can't seem to make it use the locally installed (and verified) dependencies instead of (unsecurely) retrieving and rebuilding them from pypi, given it could make any sense to use a virtual environment for producing system packages. |
Ok, so now it seems at least the But really until it keeps trying to rebuild half of the system (and it even hides the relative logs unless it fails) on Android (so on a very resource-constrained environment), I can't see how I can even think of enabling it as the default build system. |
I infer that this is what you find unexpected. I wish you would have said so sooner! It looks to me as though https://github.com/python-poetry/poetry-core/blob/4749d63c822147b0dbaa82033c02628f92c97200/src/poetry/core/masonry/builders/builder.py#L94 expects It's not clear to me whether that's intended or not. The docs "clarification" at #8852 implied that it was expected to work - but perhaps it never was. |
... which makes this a duplicate of #3380, see in particular #3380 (comment) edit: though I guess that the docs have recently become more misleading is new |
right, that's exactly the text that was added in #8852, I agree that it is misleading I expect that a pull request correcting it to say that exclude always applies to both formats would be welcome |
@dimbleby I think it should be made so excludes apply to a destination as well. Also it should be mentioned they are both ignored by the subsequent call to |
sure, I expect that a pull request to make exclude more like include would be welcome too. But
|
@dimbleby I would be glad to fix that issue, but right now I don't think I have the time to as I have to find a way to save myself from starvation before the end of the month as regardless of how important are the issues one solves for the community, it doesn't currently provide contributors any way to survive by doing so, and as a consequence for now I think I will stick to still use setuptools. If you're interested to this particular issue I'm talking about, I suggest to take a look at my work on the matter of providing free software developers and package maintainers with a way to be paid for their work by forcing end users (not user developers) to acquire free (as in freedom) software through a smart contract on a blockchain, even though experience tells me people are just gonna keep acquiring whatever massive advertising by monopolistic actors and the subsequent peer pressure tell them to. |
Description
Hello,
I'm opening this issue just for conscience as if I really needed to fix these includes I would do it in the downstream distribution recipe script but anyway.
I can't seem to make the include/exclude fields work for a cythonized module using the reported syntax from the documentation.
This is the pyproject.toml file I've been using.
This is the build.log, this is poetry.config.log.
Workarounds
Delete the extra files from the downstream distribution build recipe.
Poetry Installation Method
system package manager (eg: dnf, apt etc.)
Operating System
Life / DogeOS
Poetry Version
1.8.4
Poetry Configuration
It's attached above.
Python Sysconfig
No response
Example pyproject.toml
I've linked it in the description above.
Poetry Runtime Logs
I'm adding it as an attachment above because it seems too long for the github issue.
The text was updated successfully, but these errors were encountered: