Skip to content

fix: Fix GitHub Actions hatch/virtualenv compatibility#1140

Merged
nathan-stender merged 3 commits into
mainfrom
fix/github-actions-hatch-compatibility
Mar 11, 2026
Merged

fix: Fix GitHub Actions hatch/virtualenv compatibility#1140
nathan-stender merged 3 commits into
mainfrom
fix/github-actions-hatch-compatibility

Conversation

@nathan-stender

Copy link
Copy Markdown
Collaborator

Summary

  • Fix CI failures caused by incompatibility between hatch and virtualenv versions
  • Pin hatch to >=1.13.0 to ensure compatibility with latest virtualenv API
  • Update GitHub Actions to use latest versions (checkout@v4, setup-python@v5)
  • Add CHROM/ directory to .gitignore for local test data

Background

The error module 'virtualenv.discovery.builtin' has no attribute 'propose_interpreters' occurred because:

  • Virtualenv 20.26.0+ removed the internal propose_interpreters method
  • Older versions of hatch were using this internal API
  • When GitHub Actions installed the latest virtualenv with an older hatch, they became incompatible

Test plan

  • CI tests pass on this PR
  • All Python versions (3.10, 3.11, 3.12) successfully create test environments
  • Linting and quality checks pass

🤖 Generated with Claude Code

nathan-stender and others added 2 commits March 11, 2026 11:44
…lity

- Pin hatch to version >=1.13.0 to ensure compatibility with latest virtualenv
- Update GitHub Actions to use latest versions (checkout@v4, setup-python@v5)
- Fixes CI failures caused by virtualenv API changes removing propose_interpreters

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
Ignore local Chromeleon test data files

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
@nathan-stender
nathan-stender requested review from a team and slopez-b as code owners March 11, 2026 15:53
Chardet 6.0.0 (released Feb 22, 2026) introduced breaking changes in encoding detection that caused test failures with UTF-16 and Windows-1252 encoded files. This pins chardet to 5.x to maintain compatibility.

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
@nathan-stender
nathan-stender merged commit f5b7fe8 into main Mar 11, 2026
7 checks passed
@nathan-stender
nathan-stender deleted the fix/github-actions-hatch-compatibility branch March 11, 2026 19:56
nathan-stender added a commit that referenced this pull request Mar 17, 2026
### Added

- Cytiva Biacore Insight - Add support for Affinity and Concentration
analysis files (#1137)
- Add compatibility with chardet 6.0.0+ and fix encoding issues (#1141)

### Fixed

- Fix Perkin Elmer Envision parser to recognize A450 labels as
absorbance (#1152)
- Optimize test encoding detection for 4x speedup (#1143)
- Fix GitHub Actions hatch/virtualenv compatibility (#1140)
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