Dear William,

I need to reopen this ITP due to breaking changes in PSR-Container 2.0 that
prevent FOSSology from functioning.

BREAKING COMPATIBILITY ISSUE:
FOSSology requires PSR-Container 1.1.2, but Debian provides 2.0.x.
PSR-Container 2.0 introduced breaking changes that make it incompatible
with FOSSology's Symfony 3.4.x components.

CONCRETE EVIDENCE:
During integration testing: "php-symfony-dependency-injection depends on
php-psr-container (<< 2~~); however: Version of php-psr-container on system
is 2.0.2-1"

This dependency conflict proves PSR-Container 2.0 cannot work with
FOSSology's existing components.

OFFICIAL BREAKING CHANGES PSR-11 v1 → v2:
- Interface method signatures changed
- Exception handling behavior modified
- Backward compatibility officially broken
- Applications must be updated to migrate (per PSR-11 documentation)

TECHNICAL REQUIREMENT:
FOSSology was built against PSR-Container 1.x APIs. The 2.0 upgrade
requires significant code changes throughout FOSSology's dependency
injection system - beyond packaging scope.

PROPOSED SOLUTION:
Package as php-psr-container-1.1 alongside current 2.0 package, following
Debian's standard practice for major version incompatibilities.

PRECEDENT:
Like python3.9/python3.10/python3.11, postgresql-13/14/15 when major
versions break compatibility.

REQUEST:
Please reopen to discuss version-specific packaging for this legitimate
compatibility requirement.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <
[email protected]> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the wnpp package:
>
> #1109633: ITP: php-psr-container -- Common container interface (PSR-11)
> for PHP
>
> It has been closed by William Desportes <[email protected]>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact William Desportes <
> [email protected]> by
> replying to this email.
>
>
> --
> 1109633: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109633
> Debian Bug Tracking System
> Contact [email protected] with problems
>
>
>
> ---------- Forwarded message ----------
> From: William Desportes <[email protected]>
> To: 1109364-done <[email protected]>, 1109365-done <
> [email protected]>, 1109613-done <[email protected]>,
> 1109615-done <[email protected]>, 1109621-done <
> [email protected]>, 1109624-done <[email protected]>,
> 1109625-done <[email protected]>, 1109632-done <
> [email protected]>, 1109633-done <[email protected]>,
> 1109634-done <[email protected]>, 1109640-done <
> [email protected]>
> Cc:
> Bcc:
> Date: Sun, 10 Aug 2025 15:45:06 +0200
> Subject: The package already exists in Debian
>
> Please do some research before opening ITP/RFP bugs.
> This package already exists in Debian.
>
> --
> William Desportes
>
>
> ---------- Forwarded message ----------
> From: Ahmed Gamal <[email protected]>
> To: Debian Bug Tracking System <[email protected]>
> Cc:
> Bcc:
> Date: Mon, 21 Jul 2025 07:11:43 +0000
> Subject: ITP: php-psr-container -- Common container interface (PSR-11) for
> PHP
> Package: wnpp
> Severity: wishlist
> Owner: Ahmed Gamal <[email protected]>
>
> * Package name    : php-psr-container
>   Version         : 1.1.2
>   Upstream Author : PHP-FIG <http://www.php-fig.org/>
> * URL             : https://github.com/php-fig/container
> * License         : MIT
>   Programming Lang: PHP
>   Section         : php
>
> Description:
>  Common container interface (PSR-11) for PHP
>
>  This package provides the standard PSR-11 container interface for PHP. It
> defines
>  a common interface for dependency injection containers, allowing
> libraries and
>  frameworks to interoperate with any container implementation that follows
> the
>  PSR-11 specification.
>
>  The package contains the standard interfaces for retrieving objects and
> parameters
>  from a container, ensuring interoperability and flexibility in PHP
> applications.
>
> Rationale:
>  This package is required as a dependency for FOSSology, an open source
> license
>  compliance system. FOSSology uses PHP-based tools for source code
> analysis and
>  license detection, which rely on the PSR-11 container interface for
> managing
>  dependencies and service objects in a consistent and maintainable way.
>
>  The php-psr-container package is essential for:
>  - Providing a standardized container interface for FOSSology components
>  - Ensuring interoperability with PSR-11 compliant libraries and frameworks
>  - Supporting dependency injection and service management in FOSSology
>  - Promoting modular and maintainable code architecture
>  - Enabling consistent dependency retrieval across different
> implementations
>
> Technical Details:
>  - Requires PHP >= 5.3.0
>  - Implements PSR-11 container interface specification
>  - Uses PSR-4 autoloading
>  - Provides interfaces for container interoperability
>  - MIT licensed for maximum compatibility
>  - Part of the PHP-FIG standards recommendations
>
> Dependencies:
>  - php (>= 5.3.0)
>  - Build dependencies: phpunit, php-codesniffer
>
> The package will be maintained by Ahmed Gamal <[email protected]>
> as part
> of the FOSSology packaging effort.
>
> --
> Ahmed Gamal
> FOSSology Debian Packaging Team
>

Reply via email to