Closed BDonnot closed 1 year ago
python 3.7 support has been dropped with the latest version since its life is going to end soon. Please update your python installation.
Hello,
This error arises in a unit test script. I'll make sure not to install latest version of pandapower for older python versions. I totally understand you drop support for 3.7 this makes total sense.
A better solution would be not to release new version of pandapower on pypi for python 3.7 I think.
Indeed, as of now trying to install it on python 3.7 is impossible due to above-mentioned error.
Sorry for complications but why is it so that a new pp version appears for py37? At Pypi, it is clearly released for >py38...
Hello,
I don't know the why
but I assure you that, when you run python 3.7 (I installed a clean version locally on purpose) and try to install pandapower, it finds (and install) a non working pandapower version (2.12 in this case) and not 2.11 (which is the latest supported as far as I understand)
You can do the set in a virtual machine, in a docker container or in your computer.
Benjamin
I create a venv for python3.7 from scratch, installed pandapower and you can see it installs pandapower 2.12 which should not happen:
To reproduce:
python3.7 -m virtualenv venv_37
source venv_37/bin/activate
pip install pandapower --no-cache-dir # I added this option to prevent pip from using the cache (pandapower 2.12 could be in the cache for other python version)
python -c "import pandapower as pp; print(pp.__version__)"
should be fixed now. please reopen if some problems occur.
Issue Report Checklist
pip install --upgrade pandapower
(orgit pull
)Problem Description
When installed from scratch in python 3.7 (pandapower 2.12) i got the following error:
This raises the error:
What steps reproduce the problem?
python3.7 -m pip install --upgrade pandapower
python3.7 -c "from pandapower.toolbox.result_info import *"
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
Versions
Above informations are irrelevant for the bug, this is a problem with the fstring not support the syntax
f"{var = }"
in python 3.7 (introduced apparently in python 3.8) , as shown in this super simple example:I can find them for you if you want
Labels (if access available)
labels
at the right side (e.g.bug
,controller
,OPF
...)