Skip to content

Conversation

@rwood-97
Copy link
Collaborator

@rwood-97 rwood-97 commented Dec 19, 2025

Summary

Fixes failing tests

Describe your changes

Since Princeton-CDH/piffle#25 was merged we can now have piffle as a direct dependancy.

Checklist before assigning a reviewer (update as needed)

  • Self-review code
  • Ensure submission passes current tests
  • Add tests
  • Update relevant docs
  • Update changelog

Reviewer checklist

Please add anything you want reviewers to specifically focus/comment on.

  • Everything looks ok?

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 79.27% <100.00%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
mapreader/annotate/annotator.py 85.48% <100.00%> (ø)
setup.py 0.00% <ø> (ø)
tests/test_classify/test_classifier.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the piffle dependency from a git-based installation to the official PyPI version 0.7.0, following the merge of upstream changes that make piffle available as a direct dependency.

Key Changes:

  • Updated setup.py to use piffle>=0.7.0 from PyPI instead of installing from a git branch
  • Removed git-based piffle installation commands from CI workflows and documentation
  • Added multi-column sorting in annotator and removed unused hashlib import

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
setup.py Uncommented and updated piffle dependency to version 0.7.0 from PyPI
mapreader/annotate/annotator.py Removed unused hashlib import and modified sorting logic with multi-column sort
docs/source/using-mapreader/step-by-step-guide/1-download.rst Removed manual piffle installation instructions that are no longer needed
.github/workflows/mr_pip_ci.yml Removed git-based piffle installation from CI pipeline
.github/workflows/mr_ci_text_spotting.yml Removed git-based piffle installation, added --no-build-isolation flags, updated huggingface-hub version constraint, downgraded codecov action from v5 to v4, and added timeout
.github/workflows/mr_ci.yml Removed git-based piffle installation and added timeout to codecov upload step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rwood-97 rwood-97 force-pushed the update_gh_workflows branch 2 times, most recently from 07874a0 to 0c4f060 Compare December 19, 2025 15:34
@rwood-97 rwood-97 force-pushed the update_gh_workflows branch from 0c4f060 to 9c98d4f Compare December 19, 2025 15:53
@rwood-97 rwood-97 changed the title Update piffle version in CI install Fix CI (piffle, codecov, models test) Dec 19, 2025
@rwood-97 rwood-97 merged commit a4d302f into main Dec 19, 2025
4 checks passed
@rwood-97 rwood-97 deleted the update_gh_workflows branch December 19, 2025 16:13
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.

2 participants