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

reloc/build_reloc.sh: don't use --no-build-isolation #86

Merged
merged 1 commit into from
May 22, 2024

Conversation

fruch
Copy link
Collaborator

@fruch fruch commented May 9, 2024

for downloading the source packages dependecies, we use the pip download command

and we uses --no-build-isolation which mean it doesn't download it's own set of versions, with using using --no-binary :all: to download the source packages

but that's affect also the build dependency which would make it extremely slow, compile cython from source.

so first pin the cython in the build dependecies, and force the command download cython always as wheel to avoid building it from source

Fixes: #78

@fruch fruch requested a review from tchaikov May 9, 2024 12:56
@fruch
Copy link
Collaborator Author

fruch commented May 9, 2024

@tchaikov if you can take this to a ride, to see it solve the issue

this repo CI, doesn't cover the packaging part that is used only by scylla-core

pyproject.toml Outdated
@@ -2,11 +2,11 @@
requires = [
"setuptools>=42",
"wheel",
"Cython",
"Cython<3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it turns out this change is not necessary anymore with the other changes in this commit.

for downloading the source packages dependecies, we use the
`pip download` command

and we  uses `--no-build-isolation` which mean it doesn't download it's own set of versions,
with using using `--no-binary :all:` to download the source packages

but that's affect also the build dependency which would make it extremely slow,
compile cython from source.

so first pin the cython in the build dependecies, and force the command
download cython always as wheel to avoid building it from source

Fixes: scylladb#78
@fruch fruch merged commit 342b8aa into scylladb:master May 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reloc/build_reloc.sh: AttributeError: cython_sources when building PyYAML
2 participants