Skip to content

Lockfile auto-update#132

Open
ocefpaf wants to merge 3 commits intoioos:mainfrom
ocefpaf:lockfile_update
Open

Lockfile auto-update#132
ocefpaf wants to merge 3 commits intoioos:mainfrom
ocefpaf:lockfile_update

Conversation

@ocefpaf
Copy link
Copy Markdown
Member

@ocefpaf ocefpaf commented Apr 7, 2026

@ChrisBarker-NOAA I decided to take a go here b/c the changes were a bit more involved if we want fast solves by eliminating the pypi install of xarray-subset-grid itself. While it is not a true PyPI access for it, the editable install in the previous configuration prevented us from using the fast pixi update --json --no-install.

The current configuration should be faster on all envs too.

@ChrisBarker-NOAA
Copy link
Copy Markdown
Contributor

If I follow what the yaml file it doing, this looks great.

eliminating the pypi install of xarray-subset-grid itself.

yeah, I vacillate on that -- having an editable install as default seems to be "standard practice", but it's always seemed a bit off to me.

editable installs are for development, so what I"ve done is not put it in the default environment, and then have a dev environment that does include it.

and a "build" job that the tests can depend on for testing ... (really tests should be done on a proper install, not an editable install anyway)

@ocefpaf
Copy link
Copy Markdown
Member Author

ocefpaf commented Apr 7, 2026

yeah, I vacillate on that -- having an editable install as default seems to be "standard practice", but it's always seemed a bit off to me.

There are many places where editable installs are OK and/or preferred, specially when mixing Python and non-Python packages. Python packaging has way too many ways to do this and that is the source of confusion IMO. We try to adapt as best as we can 😄

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.

2 participants