Skip to content

docs: install pyautoreduce, not autoreduce - #1

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/autoreduce-pypi-name-collision
Aug 24, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/autoreduce-pypi-name-collision

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Companion to PyAutoLabs/PyAutoReduce#72 — merges after it (library-first gate). Tracking issue: PyAutoLabs/PyAutoReduce#71.

Why

autoreduce on PyPI is not a PyAutoLabs package. It is github.com/ayush9pandey/AutoReduce, "Python tools for automated model reduction of nonlinear dynamical systems", with releases running 0.1.0 (2020) through 0.9 (2026-08-12). PyAutoReduce has never been tagged or published; #72 moves its distribution name to pyautoreduce.

This repo pointed every install instruction at the foreign name. requirements.txt is the sharp end — its first line was a literal autoreduce[hst] install spec, so anyone setting the workspace up got a stranger's package plus a pip warning about an unknown [hst] extra, and then hit ModuleNotFoundError or worse on the first from autoreduce import ....

Changed

  • requirements.txt — the install spec and the extras reference table
  • README.md — the install line and the extras table
  • extras hints in scripts/start_here.py, scripts/guides/output_contract.py, scripts/hst_acs/psf.py, scripts/hst_acs/individual.py, scripts/hst_wfc3_uvis/psf.py, scripts/jwst_nircam/psf.py

Not changed

  • Every from autoreduce import .... The import package is deliberately unchanged in #72; only pip install targets and autoreduce[extra] specs moved.
  • pip install autolens references — a different package, and one we do own.
  • .github/workflows/smoke_tests.yml — it installs ./PyAutoReduce from a source checkout, so the distribution name never enters.

Verification

Repo-wide sweep for autoreduce[ returns nothing; the only remaining bare autoreduce references are import statements, module paths (autoreduce.acquire.koa, autoreduce.validation) and prose about the package, all correct. All six touched scripts re-parse with ast.parse.


Generated by Claude Code

`autoreduce` on PyPI belongs to github.com/ayush9pandey/AutoReduce, an
unrelated and actively maintained project — not PyAutoLabs. PyAutoReduce#72
moves the distribution to `pyautoreduce`; this repo pointed every install
instruction at the foreign name.

requirements.txt is the sharp end: its first line was a literal
`autoreduce[hst]` install spec, so anyone setting the workspace up got a
stranger's package and a pip warning about an unknown `[hst]` extra.

- requirements.txt: the install spec and the extras reference table
- README.md: the install line and the extras table
- the extras hints in scripts/start_here.py, scripts/guides/output_contract.py,
  scripts/hst_acs/{psf,individual}.py, scripts/hst_wfc3_uvis/psf.py and
  scripts/jwst_nircam/psf.py

The IMPORT package is unchanged, so every `from autoreduce import ...` stays
as it is; only pip install targets and `autoreduce[extra]` specs moved.
`pip install autolens` references are a different package and untouched, as is
smoke_tests.yml, which installs `./PyAutoReduce` from a source checkout.

Merges after PyAutoLabs/PyAutoReduce#72 (library-first gate).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V19RfJbExKP4hsT5c6LttV
@Jammy2211
Jammy2211 merged commit a2386ba into main Aug 24, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/autoreduce-pypi-name-collision branch August 25, 2026 18:58
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