Skip to content

MAINT: Set Pixi relative exclude-newer#2572

Merged
VeckoTheGecko merged 1 commit intoParcels-code:mainfrom
VeckoTheGecko:exclude-newer
Apr 9, 2026
Merged

MAINT: Set Pixi relative exclude-newer#2572
VeckoTheGecko merged 1 commit intoParcels-code:mainfrom
VeckoTheGecko:exclude-newer

Conversation

@VeckoTheGecko
Copy link
Copy Markdown
Contributor

  • Closes None
  • This PR targets the correct branch (main for normal development, v3-support for v3 support)

As of yesterday, https://github.com/prefix-dev/pixi/releases/tag/v0.67.0 now has support for relative exclude newer. E.g.,

exclude-newer = "5d"

will exclude all packages that have been released within the last 5 days. This better safeguards us against packages being compromised and posting malicious code (these packages are often taken down within a few days). This is particularly useful since we don't commit a lockfile. We often don't work right at the bleeding edge - requiring 'just-released' features - so this wont affect us noticeably.

In security lingo this is known as a "dependency cooldown" (blog: We should all be using dependency cooldowns). Many packages are adopting this. We have already adopted it for our GitHub Actions.

Note that this would need to be revisited if we decide to add a nightly testing environment in future. See pydata/xarray#11269 (comment) for more discussion on that topic.

Copy link
Copy Markdown
Member

@erikvansebille erikvansebille left a comment

Choose a reason for hiding this comment

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

Good idea!

@VeckoTheGecko VeckoTheGecko enabled auto-merge (squash) April 9, 2026 14:56
@VeckoTheGecko VeckoTheGecko merged commit 2a989a7 into Parcels-code:main Apr 9, 2026
11 of 12 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants