-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Revert #32713 (Apply "configure --enable-editable" to other packages) for sage-conf, sage-setup #32913
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
comment:4
Can you please expand on why this leads to problems? For example, end-users should normally not use an editable install anyway, neither should the build process for the wheels on ci. For the tox cmd, wouldn't be better if the tox config of sagemath-standard only applies the -e only to that package if that's the desired behavior. I would fine it confusing if |
comment:5
Replying to @tobiasdiez:
Please take a look at |
comment:6
Replying to @tobiasdiez:
Hasn't confused anyone so far... |
comment:7
Also note that
|
This comment has been minimized.
This comment has been minimized.
comment:9
Sorry, but I still don't understand why you need to build and use wheels for sage packages if all of them use editable installs. Why can one not install them (as editable) in the tox environments? For example, something along the following lines (in src/tox):
Potentially combined with a custom |
comment:10
That could be implemented but it is not implemented. |
comment:11
And the installation procedure would also be more difficult to document than just to say "install all wheels from ...". |
comment:12
#32616 may be a way to resolve this |
comment:13
Replying to @mkoeppe:
I would strongly prefer that over reverting something that works in principle. I'll have a look the coming days and create a prototype. |
comment:14
Any progress on this? |
comment:15
With the new branch New commits:
|
comment:16
This branch doesn't fix what is described in the ticket description |
comment:17
Maybe not (as I said above in comment 4 I don't quite get what your problem is). But it shows how to use editable installs with tox and thus provides a way around the problem "we need the wheels of packages sage-conf and sage-setup when testing distributions [with tox]". Also it was meant as a prototype not as a complete solution. |
comment:18
Well we are in the release phase for Sage 9.5 and can't merge "prototypes" |
comment:19
Set milestone to sage-9.6 after Sage 9.5 release. |
comment:21
I have a different solution in #33817 |
Changed author from Matthias Koeppe to none |
(from #32713 comment:11)
Users need the wheel of sage-conf when creating venvs. And we need the wheels of packages sage-conf and sage-setup when testing distributions using
./sage -sh -c '(cd pkgs/sagemath-standard && tox -v -v -v -e python-sagewheels-nopypi)'
and similar - as documented in the developer's guide as of #32899.Until editable wheels (PEP 660) are implemented in setuptools (or we switch the distributions to another build system that implements PEP 660 such as flit), we revert the change made in #32713 for these packages.
But we keep sage-docbuild editable.
CC: @tobiasdiez @kwankyu
Component: build
Branch/Commit: public/build/trac_editable @
2a30209
Issue created by migration from https://trac.sagemath.org/ticket/32913
The text was updated successfully, but these errors were encountered: