EducationalTestingService / EducationalTestingService/factor_analyzer

Bump version to 0.5.2 and prepare for PyPI release

Offen
#148 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
6
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Summary
This PR bumps the version from 0.5.1 to 0.5.2 to prepare for a PyPI release that includes the critical scikit-learn 1.6+ compatibility fix.

Problem
The current PyPI release (v0.5.1, February 2024) contains deprecated force_all_finite parameters that cause TypeError with scikit-learn 1.8+:

TypeError: check_array() got an unexpected keyword argument 'force_all_finite'.
Did you mean 'ensure_all_finite'?
Fix Status
The fix was committed on January 21, 2025 (commit de933d2) by @sateeshm and merged by @desilinguist. The fix:

Replaced all force_all_finite with ensure_all_finite in factor_analyzer.py and confirmatory_factor_analyzer.py
Updated requirements to scikit-learn>=1.6.0
The fix exists in main but has never been released to PyPI (7+ months).

User Impact
Users with scikit-learn 1.8+ cannot use factor_analyzer from PyPI. They must use the workaround:

pip install git+https://github.com/EducationalTestingService/factor_analyzer.git
Related Issues
#147 - "Factor_analyzer now is broken" (Jan 13, 2026)
#142 - "Push changes to pypi" (Jun 7, 2025) - no maintainer response
#145 - FutureWarning still present in PyPI version
What This PR Does
Bumps version from 0.5.1 to 0.5.2 in setup.py
What Needs to Happen Next
After this PR is merged, a maintainer needs to:

Create a GitHub release:

git tag -a v0.5.2 -m "Release v0.5.2 - scikit-learn 1.8+ compatibility"
git push origin v0.5.2
Build and publish to PyPI:

python -m build
python -m twine upload dist/*
Files Changed
setup.py: Version bump from 0.5.1 to 0.5.2
Testing
Tested with:

Python 3.14
scikit-learn 1.8.0
Installation from GitHub main branch works correctly
Code Change
In setup.py, change line 35:

# OLD
version="0.5.1"

# NEW
version="0.5.2"
Note for maintainers: If you need help with the PyPI release process or don't have publish access anymore, please let the community know. Several users have offered to help test and assist with the release.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Öffne setup.py in Zeile 35 und überprüfe die aktuelle Paketversion und die Release-Metadaten, bevor du die angeforderte Versionsänderung vornimmst. Bestätige, dass die Version 0.5.2 ist, führe python -m build aus und überprüfe, dass die resultierende Distribution bereit ist, vom Maintainer auf PyPI veröffentlicht zu werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, scikit-learn
Bereich
build-system, release
Issue-Typ
Feature
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.