Skip to content

Conversation

@stefanv
Copy link
Member

@stefanv stefanv commented May 14, 2024

No description provided.

spin/cmds/pip.py Outdated
pip_args += ["--no-build-isolation"]
if editable:
pip_args += ["--editable"]
if verbose:
Copy link
Contributor

@lesteve lesteve May 15, 2024

Choose a reason for hiding this comment

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

Thanks for this PR!

I find it a tiny bit weird to mix two slightly different things:

  • verbose for pip commands, I want to see the output of the pip command
  • verbose for meson editable install: I want to see the compilation steps when importing the package (if there is anything to recompile)

Maybe I want to see the compilation output the first time (pip verbose) but not on import (meson editable verbose)

A separate parameter like --meson-editable-verbose for the spin install command would maybe make sense?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, let's split the options.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, done.

@stefanv stefanv force-pushed the verbose-editable-install branch from 9280ce6 to 88457cd Compare May 15, 2024 19:38
Copy link
Contributor

@lesteve lesteve left a comment

Choose a reason for hiding this comment

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

Tested this PR on my scikit-learn branch from scikit-learn/scikit-learn#29012, this seems to work fine, thanks!

I will trust you on the naming, I proposed --meson-editable-verbose initially, but I would agree that --verbose-import is more easily understandable for most people and also shorter.

@stefanv
Copy link
Member Author

stefanv commented May 16, 2024

I will trust you on the naming, I proposed --meson-editable-verbose initially, but I would agree that --verbose-import is more easily understandable for most people and also shorter.

You know how it is with naming. There's no right or wrong, but everyone's got an opinion :) I chose this to keep it short, and in case we could retrofit it in the future to CMake and other build types.

@stefanv stefanv merged commit 7bc2468 into scientific-python:main May 16, 2024
@jarrodmillman jarrodmillman added this to the 0.10 milestone May 16, 2024
@lesteve
Copy link
Contributor

lesteve commented May 21, 2024

Thanks for this! Just curious, what's the rough timeline for the 0.10 release? This is mostly so that I remember to update scikit-learn/scikit-learn#29012.

@stefanv
Copy link
Member Author

stefanv commented May 22, 2024

0.10 should be out by tomorrow.

@lesteve
Copy link
Contributor

lesteve commented May 23, 2024

Great thanks!

@stefanv
Copy link
Member Author

stefanv commented May 24, 2024

Release is out.

@lesteve
Copy link
Contributor

lesteve commented May 24, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants