-
Notifications
You must be signed in to change notification settings - Fork 10
Update installation of Parcels to be source installation #219
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
Merged
VeckoTheGecko
merged 14 commits into
Parcels-code:edito-hackathon
from
VeckoTheGecko:pixi-for-edito
Oct 23, 2025
Merged
Update installation of Parcels to be source installation #219
VeckoTheGecko
merged 14 commits into
Parcels-code:edito-hackathon
from
VeckoTheGecko:pixi-for-edito
Oct 23, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Define workspace with VirtualShip name and pixi-build preview - Configure multiple test environments (py310, py311, py312) - Set up feature environments for docs, typing, and pre-commit - Define pixi tasks for tests, docs, linting, and type checking - Align dependencies with existing pyproject.toml
- Replace mamba-org/setup-micromamba with prefix-dev/setup-pixi - Update test job to use pixi environments (test-py310, test-py312) - Update typechecking job to use pixi run typing - Enable pixi caching for faster CI runs - Simplify workflow by removing manual dependency installation
- Replace Conda-based development setup with Pixi - Add comprehensive Pixi workflows section with examples - Document testing, docs, and code quality commands - Include tips for environment management and CI reproduction - Update dependency management instructions to reference pixi.toml
Add Pixi badge to indicate project uses Pixi for environment management
Environment management is now handled by pixi.toml. The environment.yml file is no longer needed as all dependencies are defined in pixi.toml.
v4 of Parcels is 3.11+
for more information, see https://pre-commit.ci
228c044 to
31c7bbb
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7204e25
into
Parcels-code:edito-hackathon
9 of 12 checks passed
This comment was marked as outdated.
This comment was marked as outdated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the installation of Parcels in VirtualShip to be a source installation using Pixi as well as a git submodule. This git submodule approach means that you can edit Parcels alongside virtualship and easily push changes back to Parcels as well.
This is the resulting tree:
Making edits to Parcels via the submodule
cdinto Parcelsgit statusyou'll see the status of the Parcels repo. Make any edits you need, making branches and pushing to ParcelsParcelsor invirtualshipfolder)Once merged you can fetch the updated
v4-devbranch in the submoduleThis PR:
Note that a lot of the changes in here regarding Pixi (except the source installation part) are changes that we want to incorporate into
v1-devof parcels as its a significant improvement on previous dev workflow. These are in thepixibranch, or can be cherrypicked from here.