Skip to content
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

Use a Dockerfile #44

Open
dbworku opened this issue Feb 2, 2022 · 1 comment
Open

Use a Dockerfile #44

dbworku opened this issue Feb 2, 2022 · 1 comment

Comments

@dbworku
Copy link

dbworku commented Feb 2, 2022

I'm hitting an odd issue with package versions when running the setup.py. Obivously, some is messed up my with pip or python3 configuration that I need to debug. However, in general, I'd reccomend creating a dockerfile so that we can avoid environmental issues entirely.

dbworku@pop-os:~/repos/honestnft-shenanigans$ sudo python3 setup.py install
running install
running bdist_egg
running egg_info
writing honestnft_shenanigans.egg-info/PKG-INFO
writing dependency_links to honestnft_shenanigans.egg-info/dependency_links.txt
writing requirements to honestnft_shenanigans.egg-info/requires.txt
writing top-level names to honestnft_shenanigans.egg-info/top_level.txt
reading manifest file 'honestnft_shenanigans.egg-info/SOURCES.txt'
writing manifest file 'honestnft_shenanigans.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/fair_drop
copying build/lib/fair_drop/__init__.py -> build/bdist.linux-x86_64/egg/fair_drop
creating build/bdist.linux-x86_64/egg/metadata
copying build/lib/metadata/pulling.py -> build/bdist.linux-x86_64/egg/metadata
copying build/lib/metadata/__init__.py -> build/bdist.linux-x86_64/egg/metadata
copying build/lib/metadata/rarity.py -> build/bdist.linux-x86_64/egg/metadata
copying build/lib/metadata/pull_from_rt.py -> build/bdist.linux-x86_64/egg/metadata
byte-compiling build/bdist.linux-x86_64/egg/fair_drop/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/metadata/pulling.py to pulling.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/metadata/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/metadata/rarity.py to rarity.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/metadata/pull_from_rt.py to pull_from_rt.cpython-39.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying honestnft_shenanigans.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying honestnft_shenanigans.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying honestnft_shenanigans.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying honestnft_shenanigans.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying honestnft_shenanigans.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
metadata.__pycache__.pull_from_rt.cpython-39: module references __file__
metadata.__pycache__.pulling.cpython-39: module references __file__
creating 'dist/honestnft_shenanigans-0.0.1-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing honestnft_shenanigans-0.0.1-py3.9.egg
removing '/usr/local/lib/python3.9/dist-packages/honestnft_shenanigans-0.0.1-py3.9.egg' (and everything under it)
creating /usr/local/lib/python3.9/dist-packages/honestnft_shenanigans-0.0.1-py3.9.egg
Extracting honestnft_shenanigans-0.0.1-py3.9.egg to /usr/local/lib/python3.9/dist-packages
honestnft-shenanigans 0.0.1 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.9/dist-packages/honestnft_shenanigans-0.0.1-py3.9.egg
Processing dependencies for honestnft-shenanigans==0.0.1
error: setuptools 52.0.0 is installed but setuptools>=59.6.0 is required by {'kw3', 'web3-wrapped-contract'}

However, when I check the version for setuptools directly. Things look fine.

dbworku@pop-os:~/repos/honestnft-shenanigans$ python3 -m pip show setuptools
Name: setuptools
Version: 60.7.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: [email protected]
License: UNKNOWN
Location: /home/dbworku/.local/lib/python3.9/site-packages
Requires: 
Required-by: jsonschema, kw3, launchpadlib, web3-erc20, web3-wrapped-contract
@Barabazs
Copy link
Contributor

Barabazs commented Feb 3, 2022

Hi @dbworku as a temporary workaround, you can do this: from the root of the honestnft repo simply do pip install .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants