Skip to content

Declare the packages firecrown and its pip-installed packages use - #693

Merged
marcpaterno merged 1 commit into
masterfrom
declare-used-dependencies
Oct 23, 2026
Merged

marcpaterno merged 1 commit into
masterfrom
declare-used-dependencies

Conversation

@vitenti

@vitenti vitenti commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator
  • Behavior change: firecrown installs no longer pull in astropy and fitsio, which nothing in firecrown imports; install them separately if needed
  • Remove astropy, used only by the example scripts deleted in Move the cluster examples into firecrown examples and remove FIRECROWN_DIR #689
  • Declare clmm and pydantic-core in runtime, since firecrown imports both
  • Remove the workarounds nothing imports: charset-normalizer, idna, urllib3, cython, fitsio, more-itertools and fuzzywuzzy
  • Declare the requirements of cobaya and isitgr, installed from PyPI: dill, getdist, packaging, pandas, portalocker, pybobyqa, rapidfuzz, requests, sympy and tqdm
  • Keep tabulate as a workaround: numcosmo_py's CLI imports it, but conda-forge's numcosmo 0.28.0 does not declare it
  • Take build from conda-forge as python-build instead of PyPI, and move types-pyyaml to devenv
  • Re-solve the lockfiles: 70 to 71 packages fewer per environment; pip installs cobaya, isitgr and py-bobyqa, plus mpmath on Python 3.14
  • Known limitation: py-bobyqa, and mpmath on Python 3.14, still come from PyPI over conda's copies; the PyPI-to-conda name mapping has no py-bobyqa entry, and sympy 1.14's PyPI metadata requires mpmath <1.4 while conda-forge's sympy allows <1.5
  • Checked locally with the py3.14 lock: make deps-check, the CosmoSIS standard library build, 4299 unit tests and all 81 example runs

* Behavior change: firecrown installs no longer pull in astropy and fitsio, which nothing in firecrown imports; install them separately if needed
* Remove astropy, used only by the example scripts deleted in #689
* Declare clmm and pydantic-core in runtime, since firecrown imports both
* Remove the workarounds nothing imports: charset-normalizer, idna, urllib3, cython, fitsio, more-itertools and fuzzywuzzy
* Declare the requirements of cobaya and isitgr, installed from PyPI: dill, getdist, packaging, pandas, portalocker, pybobyqa, rapidfuzz, requests, sympy and tqdm
* Keep tabulate as a workaround: numcosmo_py's CLI imports it, but conda-forge's numcosmo 0.28.0 does not declare it
* Take build from conda-forge as python-build instead of PyPI, and move types-pyyaml to devenv
* Re-solve the lockfiles: 70 to 71 packages fewer per environment; pip installs cobaya, isitgr and py-bobyqa, plus mpmath on Python 3.14
@github-actions

Copy link
Copy Markdown

PR revision: 0ac145ce1d5947caef47864d082989ec25318ed0
Target: master

No breaking API changes detected.

PR public API verdict

No breaking API changes detected.

Target: master
Revision: 0ac145ce1d5947caef47864d082989ec25318ed0
Baseline: 084427de215381c4149c053f8d482bdb2f5cd728

Static analysis only: no behavioral compatibility guarantee or external-dependency signature analysis.

Public API changes: 084427d -> HEAD

Executive summary

No breaking API changes detected.

Breaking changes

None.

New public API

None.

Complete report artifact and workflow run | API job

@vitenti
vitenti requested a review from marcpaterno October 23, 2026 13:53
@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (640d1c3) to head (0ac145c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #693   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         163      163           
  Lines        9978     9978           
  Branches     1199     1199           
=======================================
  Hits         9978     9978           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@marcpaterno
marcpaterno merged commit 2bc9691 into master Oct 23, 2026
16 checks passed
@marcpaterno
marcpaterno deleted the declare-used-dependencies branch October 23, 2026 14:22
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