Skip to content

Pin the dependencies in requirements.txt to the exact package versions currently used by: mainnet1.7.0-beta - #994

Open
ping-ke wants to merge 1 commit into
masterfrom
update-requirements
Open

Pin the dependencies in requirements.txt to the exact package versions currently used by: mainnet1.7.0-beta#994
ping-ke wants to merge 1 commit into
masterfrom
update-requirements

Conversation

@ping-ke

@ping-ke ping-ke commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Pin the dependencies in requirements.txt to the exact package versions currently used by: quarkchaindocker/pyquarkchain:mainnet1.7.0-beta

Motivation

The previous version ranges allowed dependency resolution to change over time, which could produce an environment different from the tested mainnet Docker image.

Using the package versions from mainnet1.7.0-beta provides:

  • A reproducible Python environment
  • Dependency versions already exercised by the existing Docker image tests
  • A stable baseline for reviewing and testing the Python 3.13 compatibility changes
  • Reduced risk from unreviewed dependency upgrades

Changes

  • Replaced dependency version ranges in requirements.txt with exact versions from the running mainnet1.7.0-beta container.
  • Kept pyethash pinned to commit:
    907b7d8064d3be09536e754bbf469b442f2e213d
  • No application or consensus logic was changed.

Verification

The following verification has been completed:

  • Built and pushed quarkchaindocker/pyquarkchain:mainnet1.7.0-gamma with the updated requirements.txt.
  • Started a node using the mainnet1.7.0-gamma image and confirmed that it runs and synchronizes with the network.

Reviewer Verification

Reviewers can independently verify the change with the following steps:

  1. Start a container using quarkchaindocker/pyquarkchain:mainnet1.7.0-beta, inspect its installed package versions, and confirm that the direct dependencies match the versions pinned in requirements.txt.

    docker run --rm \
      quarkchaindocker/pyquarkchain:mainnet1.7.0-beta \
      python -m pip freeze --all
  2. Start a node using quarkchaindocker/pyquarkchain:mainnet1.7.0-gamma and confirm that it starts successfully, connects to peers, and continues synchronizing blocks without dependency or runtime errors.

@ping-ke ping-ke changed the title Pin the dependencies in requirements.txt to the exact package versions currently used by: quarkchaindocker/pyquarkchain:mainnet1.7.0-beta Pin the dependencies in requirements.txt to the exact package versions currently used by: mainnet1.7.0-beta Aug 22, 2026
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.

1 participant