Result first
Hi,
I installed PhaseProbe 0.2.0 from PyPI in a clean Python 3.12 environment and tried the SciPy quick-start command:
phaseprobe perturb --config examples/scipy/lorenz.json
The command fails because examples/scipy/lorenz.json is not present in the working directory after a normal PyPI installation:
INVALID INPUT: cannot read configuration examples/scipy/lorenz.json: [Errno 2] No such file or directory: 'examples/scipy/lorenz.json'
RC=2
I expected the documented SciPy quick-start command to be runnable from a clean PyPI installation, or for the documentation to state that the example config requires a source checkout.
Minimal reproduction
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "phaseprobe[scipy]==0.2.0"
test -f examples/scipy/lorenz.json
&& echo "SCIPY_CONFIG_PRESENT=YES"
|| echo "SCIPY_CONFIG_PRESENT=NO"
phaseprobe perturb --config examples/scipy/lorenz.json
echo "RC=$?"
Observed output:
SCIPY_CONFIG_PRESENT=NO
INVALID INPUT: cannot read configuration examples/scipy/lorenz.json: [Errno 2] No such file or directory: 'examples/scipy/lorenz.json'
RC=2
PhaseProbe and Python versions
PhaseProbe 0.2.0 Python 3.12.3
Operating system
Linux
Safety
Result first
Hi,
I installed PhaseProbe 0.2.0 from PyPI in a clean Python 3.12 environment and tried the SciPy quick-start command:
The command fails because
examples/scipy/lorenz.jsonis not present in the working directory after a normal PyPI installation:I expected the documented SciPy quick-start command to be runnable from a clean PyPI installation, or for the documentation to state that the example config requires a source checkout.
Minimal reproduction
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "phaseprobe[scipy]==0.2.0"
test -f examples/scipy/lorenz.json
&& echo "SCIPY_CONFIG_PRESENT=YES"
|| echo "SCIPY_CONFIG_PRESENT=NO"
phaseprobe perturb --config examples/scipy/lorenz.json
echo "RC=$?"
Observed output:
SCIPY_CONFIG_PRESENT=NO
INVALID INPUT: cannot read configuration examples/scipy/lorenz.json: [Errno 2] No such file or directory: 'examples/scipy/lorenz.json'
RC=2
PhaseProbe and Python versions
PhaseProbe 0.2.0 Python 3.12.3
Operating system
Linux
Safety