FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
773 stars 131 forks source link

make deps target requests the installation of package "black" which does not seem to be available #293

Closed dsw closed 9 months ago

dsw commented 2 years ago

Your make deps target requests the installation of package "black" which does not seem to be available. I manually installed pip, so that seems to be up to date.

NOTE: I have python3 version 3.10.4 installed, which seems to be the latest version, so I do not understand the python 2.7 deprecation warnings below.

$ python3 --version
Python 3.10.4

Here is what happens when I run your "deps" target.

~/apio$ make deps
python -m pip install --upgrade pip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages (20.3.4)
python -m pip install black flake8 flit pylint tox tox-gh-actions semantic_version polib
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement black (from versions: none)
ERROR: No matching distribution found for black
make: *** [Makefile:5: deps] Error 1
Obijuan commented 1 year ago

The make deps command should be executed on a virtual-env. If you want to run apio directly from the sources please hace a look to the documentaion on the wiki:

https://github.com/FPGAwars/apio/wiki/Apio-development-version