Skip to content

Drop old package versions that predate PHP 8.1 requirement - #792

Open
sachinsharma3191 wants to merge 4 commits into
temporalio:masterfrom
sachinsharma3191:chore/698-drop-old-package-versions
Open

Drop old package versions that predate PHP 8.1 requirement#792
sachinsharma3191 wants to merge 4 commits into
temporalio:masterfrom
sachinsharma3191:chore/698-drop-old-package-versions

Conversation

@sachinsharma3191

Copy link
Copy Markdown

What was changed

Removed version ranges for packages that only exist to support PHP 7.x/8.0, which the SDK no longer requires ("php": ">=8.1"):

  • nesbot/carbon: drop ^2.72.6 (PHP 7.4+), keep ^3.8.4 (PHP 8.1+)
  • symfony/filesystem: drop ^5.4.45 (PHP 7.2.5+), keep ^6.4.13+
  • symfony/http-client: drop ^5.4.53 (PHP 7.2.5+), keep ^6.4.17+
  • symfony/process: drop ^5.4.51 (PHP 7.2.5+), keep ^6.4.15+

internal/promise: ^2.12 was already dropped in a previous change.

Why?

Carrying version ranges for packages that support end-of-life PHP versions adds unnecessary complexity to dependency resolution and may pull in older, less maintained versions. Since the SDK requires PHP 8.1+, these ranges serve no purpose.

Closes #698

sachinsharma added 4 commits August 11, 2026 18:12
Remove version ranges for packages that support PHP 7.x/8.0:
- nesbot/carbon: drop ^2.72.6 (PHP 7.4+), keep ^3.8.4 (PHP 8.1+)
- symfony/filesystem: drop ^5.4.45 (PHP 7.2.5+), keep ^6.4.13+
- symfony/http-client: drop ^5.4.53 (PHP 7.2.5+), keep ^6.4.17+
- symfony/process: drop ^5.4.51 (PHP 7.2.5+), keep ^6.4.15+

Closes temporalio#698
The validate-prefer-lowest check fails because the declared minimums
(6.4.13 for filesystem, 6.4.15 for process) cannot be installed with
--prefer-lowest due to transitive dependency constraints. Updated to
the actual lowest resolvable versions (6.4.24 and 6.4.33).
The dload binary downloader uses GitHub API to find and download
release assets for RoadRunner, Temporal CLI, and Temporal test server.
When many CI jobs run concurrently, the 5000 req/hr rate limit is
exhausted causing widespread failures. Cache the extracted binaries
keyed on the dload.xml configuration hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore] Drop old packages support

1 participant