Open Core5563 opened 1 month ago
@Core5563 Thanks for the report!
As you can see here, up-lpg is distributed for a limited number of python versions and architectures, in particular, they currently do not support python 3.12 (even though I expect there should be no issue in the source code to run on 3.12, hence installing manually from git seems to work).
@IvanSerina maybe you can add python 3.12 in the up-lpg
distribution?
Describe the bug When installing unified_planning (on Manjaro) on an virtual environment with the command 'pip install unified-planning[engines]' the installation defaults back to unified-planning version 0.4.0 Trying to force version 1.1.0 with "pip install 'unified-planning[engines]==1.1.0'" gives the following errors: ERROR: Ignored the following yanked versions: 0.0.1, 0.0.4.0, 0.0.4.1 ERROR: Could not find a version that satisfies the requirement up-lpg==0.0.10; extra == "engines" (from unified-planning[engines]) (from versions: none) ERROR: No matching distribution found for up-lpg==0.0.10; extra == "engines"
To Reproduce Steps to reproduce the behavior: All done in one Terminal session:
Expected behavior I expected the newest version with all available planners installed.
Screenshots output of 'pip list' after "pip install 'unified-planning[engines]'": Package Version
graphviz 0.20.3 networkx 3.3 pip 24.2 pyparsing 3.1.4 unified-planning 0.4.0
Desktop (please complete the following information): OS: ManjaroLinux 24.1.1 Xahea Python: Python 3.12.6
Additional context The problem is probably somewhere with the LPG engine (package 'up-lpg'). if i install the planning engines separately with the commands: pip install unified-planning[Fast-Downward] pip install unified-planning[ENHSP] pip install unified-planning[Tamer] pip install unified-planning[Aries] pip install unified-planning[Pyperplan] then the correct version of unified planning is installed (albeit not with the lpg engine). After that the output of 'pip list' is: Package Version
ConfigSpace 1.2.0 grpcio 1.66.2 grpcio-tools 1.66.2 iniconfig 2.0.0 more-itertools 10.5.0 networkx 3.3 numpy 2.1.2 packaging 24.1 pip 24.2 pluggy 1.5.0 protobuf 5.28.2 pyparsing 3.1.4 pyperplan 2.1 pytamer 0.1.19 pytest 8.3.3 scipy 1.14.1 setuptools 75.1.0 typing_extensions 4.12.2 unified-planning 1.1.0 up_aries 0.3.4 up-enhsp 0.0.27 up-fast-downward 0.4.1 up-pyperplan 1.1.0 up-tamer 1.1.3 wheel 0.44.0
Additionally i tried 'pip cache purge' with no success. Also installing up-lpg separately via git with "pip install ‘git+https://github.com/aiplan4eu/up-lpg’" did install up_lpg, but after "pip install 'unified-planning[engines]'" the same behavior occurs.