-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3.8 and futures 3.1.1 not working well together #588
Comments
I believe they should be a condition in the file requirements.txt for the line futures==3.1.1 Can this be verified please? |
I have the same error testing the master branch and 21.01,20.09 tags. |
if you browse to https://wheels.galaxyproject.org/simple/futures/ you will find two different packages. |
Has this been resolved?? I am trying to install Galaxy on a server (Ubuntu 20.04) using Ansible as per the tutorial: https://training.galaxyproject.org/training-material/topics/admin/tutorials/ansible-galaxy/tutorial.html#frequently-asked-questions and it comes up with the same error as shown above. |
I am also trying to install using Ansible as per the tutorial with the same results. I'm using Ubuntu 18.04. |
The tutorial uses a galaxy_commit_id of release_20.09. Updating this to release_21.09 solved this problem for me. |
I am having an issue building galaxy-server:
Collecting futures==3.1.1
Downloading https://wheels.galaxyproject.org/simple/futures/futures-3.1.1.tar.gz (26 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /galaxy/.venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/setup.py'"'"'; file='"'"'/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-p_hff0yy
cwd: /tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/
Complete output (24 lines):
Traceback (most recent call last):
File "", line 1, in
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/init.py", line 18, in
from setuptools.dist import Distribution
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 32, in
from setuptools.extern.more_itertools import unique_everseen
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 657, in _load_unlocked
File "", line 556, in module_from_spec
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/extern/init.py", line 52, in create_module
return self.load_module(spec.name)
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/extern/init.py", line 37, in load_module
import(extant)
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/init.py", line 1, in
from .more import * # noqa
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/more.py", line 5, in
from concurrent.futures import ThreadPoolExecutor
File "/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/concurrent/futures/_base.py", line 381
raise exception_type, self._exception, self._traceback
^
SyntaxError: invalid syntax
WARNING: Discarding https://wheels.galaxyproject.org/simple/futures/futures-3.1.1.tar.gz (from https://wheels.galaxyproject.org/simple/futures/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement futures==3.1.1 (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
ERROR: No matching distribution found for futures==3.1.1
The command '/bin/sh -c apt update && apt install --no-install-recommends libcurl4-openssl-dev libssl-dev python3-dev python3-pip -y && pip3 install futures && update-alternatives --install /usr/bin/python python /usr/bin/python3 9 && mkdir "${GALAXY_ROOT}" && curl -L -s $GALAXY_REPO/archive/$GALAXY_RELEASE.tar.gz | tar xzf - --strip-components=1 -C $GALAXY_ROOT && cd $GALAXY_ROOT && ./scripts/common_startup.sh && . $GALAXY_ROOT/.venv/bin/activate && pip3 install drmaa psycopg2 pycurl pykube && pip3 install importlib-metadata importlib-resources pathlib2 ruamel.yaml.clib typing zipp && deactivate && rm -rf .ci .circleci .coveragerc .gitignore .travis.yml CITATION CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS.md LICENSE.txt Makefile README.rst SECURITY_POLICY.md pytest.ini tox.ini client contrib doc config/plugins lib/galaxy_test test test-data .venv/lib/node_modules .venv/src/node-v10.15.3-linux-x64 .venv/include/node .venv/bin/node .venv/bin/nodeenv && /usr/bin/common_cleanup.sh' returned a non-zero code: 1
ERROR: Service 'galaxy-server' failed to build : Build failed
The text was updated successfully, but these errors were encountered: