8000 ci: keep Dependabot from rewriting the locks (#458) by rafatahmed · Pull Request #459 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

ci: keep Dependabot from rewriting the locks (#458) - #459

Merged
rafatahmed merged 1 commit into
mainfrom
ci/dependabot-locks-458
Dec 3, 2026
Merged

rafatahmed merged 1 commit into
mainfrom
ci/dependabot-locks-458

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Closes #458

Dependabot #457 rewrote the CI locks without setuptools, so jobs could not install FlahaX.

What changed

  • .github/requirements/{lint,test,coverage,docs}.txt are renamed to .lock and recompiled; only the command in each header differs. Dependabot should now edit only the source pins.
  • dependabot.yml: sphinx 9 is held back (Sphinx 9.2.0 fails the Read the Docs build #456) and ruff is proposed outside the group.
  • New tests: no .txt file in that folder, every lock records its command and keeps setuptools, and workflows install only existing .lock files.
  • docs/publishing.md now describes what Dependabot did.

Not verified

That Dependabot leaves .lock files alone can only be seen on its next run. If it still creates or rewrites a lock, the new tests fail.

Local checks

Ruff clean; 14 test modules pass (one test skipped); test.lock and lint.lock install with --require-hashes into a fresh Python 3.13 environment, followed by FlahaX without build isolation. coverage.lock and docs.lock are installed in CI.

@rafatahmed rafatahmed added bug Something isn't working github_actions Pull requests that update GitHub Actions code labels Dec 3, 2026
@rafatahmed rafatahmed self-assigned this Dec 3, 2026
@read-the-docs-community
Copy link
Copy Markdown

📖 1 file modified


Preview · build overview · Flahax · built Dec. 3, 2026, 9:22 a.m. UTC

@codecov
codecov Bot commented Dec 3, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b3d4834) to head (53bf6cd).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #459   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          154       154           
  Lines        18402     18402           
  Branches      3695      3695           
=========================================
  Hits         18402     18402           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependabot rewrites the CI locks without setuptools, so grouped updates fail

1 participant

0