Skip to content

Pin certain requirements for consistent container and docs builds - #1660

Merged
pearce8 merged 13 commits into
developfrom
reorg-reqs
Nov 30, 2026
Merged

pearce8 merged 13 commits into
developfrom
reorg-reqs

Conversation

@michaelmckinsey1

@michaelmckinsey1 michaelmckinsey1 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Attempt to pin down benchpark requirements, such that container builds and docs builds are more reproducible on a given benchpark tag.

The biggest issue that we try to address here is that many benchpark requirements specify no version, i.e. pandas. So the same container build on a given benchpark tag that may work today would concretize with pandas version 3.1.1 may fail in a month if a new pandas version is available, e.g. 3.2.0.

  • Raised Benchpark’s minimum Python version to 3.9 from 3.8
  • Consolidated shared, Ramble, docs, style, and container requirements under requirements/.
  • Pinned documentation and container packages, preserving the existing style pins and JupyterHub 5.3.0.
  • Expanded Dependabot coverage to requirements and the container image, grouping Python updates and skipping patch-version updates.
  • Updated docs builds to install the analysis extra and removed duplicate spell-checking.
  • Add tests to check python versions 3.8 and 3.13

@michaelmckinsey1 michaelmckinsey1 self-assigned this Nov 24, 2026
@github-actions github-actions Bot added docs Improvements or additions to documentation feature New feature or request ci CI, unit tests, GitHub actions dependencies Pull requests that update a dependency file labels Nov 24, 2026
@michaelmckinsey1

Copy link
Copy Markdown
Collaborator Author

I would like someones opinion on how long we should keep supporting python3.8 for reference here is the status of python versions https://devguide.python.org/versions/ . I think I would propose it be done in a separate PR, but do we forsee any centers not being able to run with python>=3.11?

@michaelmckinsey1

Copy link
Copy Markdown
Collaborator Author

@nhanford What do you think about the changes to containerfiles/flux/el10/Dockerfile? This PR was driven by our discussion regarding pinning requirements for the container.

@michaelmckinsey1 michaelmckinsey1 changed the title [WIP] Pin certain requirements [WIP] Pin certain requirements for consistent container and docs builds Nov 24, 2026
nhanford
nhanford previously approved these changes Nov 24, 2026

@nhanford nhanford left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good and is a significant improvement to dependency handling and organization.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

Comment thread requirements/ramble.txt Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to get this straight from Ramble?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

33ae99c implements this but I want to see if CI passes.

Basically we install ramble requirements as a part of the benchpark bootstrap step

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 76.50%. Comparing base (09dda35) to head (e435d07).

Files with missing lines Patch % Lines
lib/main.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1660      +/-   ##
===========================================
+ Coverage    76.40%   76.50%   +0.10%     
===========================================
  Files          170      170              
  Lines        11438    11470      +32     
  Branches      1672     1677       +5     
===========================================
+ Hits          8739     8775      +36     
+ Misses        2494     2490       -4     
  Partials       205      205              
Files with missing lines Coverage Δ
lib/benchpark/cmd/mirror.py 98.05% <100.00%> (+0.03%) ⬆️
lib/benchpark/runtime.py 89.58% <100.00%> (+4.30%) ⬆️
lib/main.py 94.34% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@michaelmckinsey1 michaelmckinsey1 changed the title [WIP] Pin certain requirements for consistent container and docs builds Pin certain requirements for consistent container and docs builds Nov 30, 2026
@michaelmckinsey1 michaelmckinsey1 added the ready for review Ready for review label Nov 30, 2026
@pearce8
pearce8 merged commit d636e61 into develop Nov 30, 2026
105 of 107 checks passed
@pearce8
pearce8 deleted the reorg-reqs branch November 30, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI, unit tests, GitHub actions dependencies Pull requests that update a dependency file docs Improvements or additions to documentation feature New feature or request ready for review Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants