-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
php: 8.2 -> 8.3 #354568
php: 8.2 -> 8.3 #354568
Conversation
Shouldn't we add a release note ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Agreed that we should indeed wait for 25.05.
Not checking with
and let
is fine I think. I skimmed through it and couldn't find stuff that could potentionally break. If there is, it's indeed a good opportunity to pin versions, like you said.
Sure, but given that we'll probably target 25.05 I figured it doesn't make sense to write anything now since the file doesn't even exist. And after sleeping over it, I think it's the right call to not do a last minute bump. Going to add release notes after branchoff.
So I think previously it was always someone else was doing the default package bumps, but now that I had to do it, it got me thinking: it's a pretty annoying task to find modules that are using My suggestion would be fairly simple: let's not do that anymore (duh!). If a package keeps up with new PHP versions quickly (and also keeps supporting older interpreters), it may be fine to just use WDYT? [1] We're pretty slow to bump the default right now anyways and should probably establish some rules around that. |
I still agree with your idea (even with more context ^^). Currently we are lucky that the php package set is not that big, but as it slowly grows it becomes untenable to check the minimum version for every package. I'd put the burden onto the package maintainer indeed. The package here and there that breaks and doesn't have a maintainer fixing it is more acceptable than not updating PHP versions. |
The package is pretty outdated, so I'm not sure if it'll work with PHP 8.3, let's keep it on 8.2 for now until the maintainers update it.
PHP 8.2 will only receive security patches starting at the end of November[1], so it makes sense to bump the default version forward. I looked through all modules with the substring `pkgs.php`[2] and all of the usages looked fine or were fixed in a commit before this one. [1] https://www.php.net/supported-versions.php [2] I didn't take `with`/`let ... in` things into account, but honestly, if an application doesn't work with a newer PHP, it should probably be pinned down instead of blindly relying on `pkgs.php`.
I don't remember anymore if I just had to be grumpy for a moment or if I misread your answer ;-) Anyways, now that the branchoff happened, I added a release note to 25.05. |
PHP 8.2 will only receive security patches starting at the end of
November[1], so it makes sense to bump the default version forward.
I looked through all modules with the substring
pkgs.php
[2] and all ofthe usages looked fine or were fixed in a commit before this one.
[1] https://www.php.net/supported-versions.php
[2] I didn't take
with
/let ... in
things into account, but honestly,if an application doesn't work with a newer PHP, it should probably
be pinned down instead of blindly relying on
pkgs.php
.We'll probably have to delay this until 25.05 given we're past the freeze.
Opinions on this @nixos/php ?
cc @AleXoundOS for pending castopod update.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.