Bug#946301: Should depend on php-twig < 3

2019-12-06 Thread David Prévot
Control: reassign -1 php-twig-extensions, php-twig
Control: found -1 php-twig-extensions/1.5.4-1
Control: found -1 php-twig/3.0.0~beta1-1

Hi,

Le 06/12/2019 à 12:36, Felipe Sateler a écrit :
>> Package: php-twig-extensions
>> Version: 1.5.4-1
>> Severity: wishlist

>> With php-twig 3 now in experimental, you may wish to add an explicit
>> Depends: php-twig < 3
>> override in your control file (due to #765899
[…]
>> the next upstream version should not be affected by this issue [1]).
> 
>> 1: 
>> https://github.com/twigphp/Twig-extensions/blob/master/composer.json#L15

> I looked at the upstream page to look if the new upstream version added
> compat for twig 3,
> and it says:
> 
> WARNING: This repository is abandoned in favor of Twig Core Extra
> extensions.
> 
> Maybe php-twig should just Breaks: php-twig-extensions

You’re right, I could do that too. Reassigning the bug report to both
packages to document the alternative.

> and phpmyadmin
> should migrate to Twig Core Extra extensions

FYI, a php-twig version providing binary packages for those extensions
is already in the NEW queue with some of its (build-)dependencies. Once
processed by the ftpmasters, I already plan to add those binary packages
to the php-twig version 2 in Sid (2.12 currently), I already need them
for symfony 4.4 (also in NEW queue).

Once phpMyAdmin migrates to Twig Core Extra extensions, you should have
those dependencies ready.

I don’t know yet witch php-twig version (2 or 3) will be used for
Bullseye, that will obviously depend on what phpmyadmin and cacti (the
current packages currently depending on it) will be ready for before the
freeze (assuming symfony 4.4 will stay compatible with both major versions).

Regards

David



signature.asc
Description: OpenPGP digital signature


Bug#946301: Should depend on php-twig < 3

2019-12-06 Thread Felipe Sateler
On Fri, Dec 6, 2019 at 5:36 PM David Prévot  wrote:

> Package: php-twig-extensions
> Version: 1.5.4-1
> Severity: wishlist
>
> Hi,
>
> Thanks for packaging twig-extensions (feel free and welcome to maintain
> it within the Debian PHP PEAR Maintainers team
>  by the way).
>
> With php-twig 3 now in experimental, you may wish to add an explicit
> Depends: php-twig < 3
> override in your control file (due to #765899, the composer.json
> versioned dependency is not fully translated into
> ${phpcomposer:Debian-require}) if you update this package before
> upgrading it to the next upstream version (looking further, I noticed
> the next upstream version should not be affected by this issue [1]).


> 1:
> https://github.com/twigphp/Twig-extensions/blob/master/composer.json#L15
>
> I noticed this issue while trying to make the phpmyadmin package work on
> my box (where I was also using the latest php-twig package). Thanks also
> for resurrecting phpMyAdmin in Debian!
>

I looked at the upstream page to look if the new upstream version added
compat for twig 3,
and it says:

WARNING: This repository is abandoned in favor of Twig Core Extra
extensions.

Maybe php-twig should just Breaks: php-twig-extensions, and phpmyadmin
should migrate to Twig Core Extra extensions


-- 

Saludos,
Felipe Sateler


Bug#946301: Should depend on php-twig < 3

2019-12-06 Thread David Prévot
Package: php-twig-extensions
Version: 1.5.4-1
Severity: wishlist

Hi,

Thanks for packaging twig-extensions (feel free and welcome to maintain
it within the Debian PHP PEAR Maintainers team
 by the way).

With php-twig 3 now in experimental, you may wish to add an explicit
Depends: php-twig < 3
override in your control file (due to #765899, the composer.json
versioned dependency is not fully translated into
${phpcomposer:Debian-require}) if you update this package before
upgrading it to the next upstream version (looking further, I noticed
the next upstream version should not be affected by this issue [1]).

1: 
https://github.com/twigphp/Twig-extensions/blob/master/composer.json#L15

I noticed this issue while trying to make the phpmyadmin package work on
my box (where I was also using the latest php-twig package). Thanks also
for resurrecting phpMyAdmin in Debian!

Regards

David

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-trunk-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages php-twig-extensions depends on:
ii  php-common  2:69
ii  php-twig2.12.2-1

php-twig-extensions recommends no packages.

Versions of packages php-twig-extensions suggests:
ii  php-symfony-translation  5.0.0-1

-- no debconf information


signature.asc
Description: PGP signature