[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#976811: [pkg-php-pear] Bug#976811: transition: php8.1



Hi Ondřej,

Le 22/11/2021 à 09:15, David Prévot a écrit :
Le 22/11/2021 à 08:45, Ondřej Surý a écrit :

 > Or we could stop delaying the inevitable[1] and instead of bumping
 > epoch just go ahead with the transition.

You don’t need to bump epoch

Please find attached a short debdiff that fixes the issue at hand (restoring php7.4 as default in unstable), without an epoch (the ugly 2:8.1+85+really7.4+87+nmu1 version being higher than 2:8.1+85, the binary packages won’t be rejected, and will disappear as soon as you’ll upload a higher version (e.g. 88) without this change when the php8.1 transition will start, 2:8.1+88 being higher than 2:8.1+85+really7.4+87+nmu1).

I’ve tested that the new binary packages are now allowed to be installed and that related packages can again be built.

I’m happy to upload it if you or the release team agree. I don’t mind if the transition gets started right now either (even if we have no proper php8.1 as default in experimental to get a grasp of expected issues).

Regards

David
diff -Nru php-defaults-87/debian/changelog php-defaults-87+nmu1/debian/changelog
--- php-defaults-87/debian/changelog	2021-11-20 03:20:12.000000000 -0400
+++ php-defaults-87+nmu1/debian/changelog	2021-11-22 16:34:09.000000000 -0400
@@ -1,3 +1,11 @@
+php-defaults (87+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Ensure binary packages get a higher version for the revert
+  * Don’t depend on PHP 8.0 packages
+
+ -- David Prévot <taffit@debian.org>  Mon, 22 Nov 2021 16:34:09 -0400
+
 php-defaults (87) unstable; urgency=medium
 
   * Revert "Start the transition to PHP 8.0"
diff -Nru php-defaults-87/debian/rules php-defaults-87+nmu1/debian/rules
--- php-defaults-87/debian/rules	2021-11-20 03:20:12.000000000 -0400
+++ php-defaults-87+nmu1/debian/rules	2021-11-22 16:34:09.000000000 -0400
@@ -10,7 +10,7 @@
 include /usr/share/dpkg/default.mk
 
 PHP_DEFAULT_VERSION    := 7.4
-PHP_SUPPORTED_VERSIONS := 7.4 8.0
+PHP_SUPPORTED_VERSIONS := 7.4
 PHP_BREAKS_VERSIONS := 5.6 7.0 7.1 7.2 7.3
 
 , := ,
@@ -20,7 +20,7 @@
 PHP_COMMON_DIRS        := $(addprefix /etc/php/,$(addsuffix /mods-available,$(PHP_SUPPORTED_VERSIONS)))
 
 PHP_COMMON_DEB_VERSION := 2:$(DEB_VERSION)
-PHP_DEB_VERSION        := 2:$(PHP_DEFAULT_VERSION)+$(DEB_VERSION)
+PHP_DEB_VERSION        := 2:8.1+85+really$(PHP_DEFAULT_VERSION)+$(DEB_VERSION)
 
 SED=sed
 

Reply to: