Well... It seems that the last release of zc.buildout is not compatible with the last setuptools release! I downgraded setuptools to 50.3.2 and everything seems OK...
Anyway, my initial question is still open: what packaging and deployment tools do you use to have a full and easy control of a package and all its dependencies? Best regards, Thierry -- https://www.ulthar.net -- http://pyams.readthedocs.io Le mar. 26 janv. 2021 à 11:27, Thierry Florac <[email protected]> a écrit : > Hi Steve, > I know that Python 3.5 is outdated, but I still have old production > environments which can't be upgraded before several months... > Anyway, I tried to create another Gitlab-CI configuration with Python > support starting from release 3.7, with installation of zc.recipe.egg from > pip instead of zc.buildout§ That works are start, but is failing afterwards > on installation of "pyramid_chameleon": > > 53 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L53>$ > pip --version > 53 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L53>pip > 21.0 from /usr/local/lib/python3.7/site-packages/pip (python 3.7) > 54 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L54>$ > pip install zc.buildout zc.recipe.egg > 55 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L55>Collecting > zc.buildout > 56 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L56> > Downloading zc.buildout-2.13.3-py2.py3-none-any.whl (153 kB) > 57 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L57>Collecting > zc.recipe.egg > 58 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L58> > Downloading zc.recipe.egg-2.0.7.tar.gz (39 kB) > 59 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L59>Requirement > already satisfied: setuptools>=8.0 in > /usr/local/lib/python3.7/site-packages (from zc.buildout) (52.0.0) > 60 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L60>Building > wheels for collected packages: zc.recipe.egg > 61 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L61> > Building wheel for zc.recipe.egg (setup.py): started > 62 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L62> > Building wheel for zc.recipe.egg (setup.py): finished with status 'done' > 63 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L63> > Created wheel for zc.recipe.egg: > filename=zc.recipe.egg-2.0.7-py2.py3-none-any.whl size=30630 > sha256=94a85f05da7e1bab3a4781df108d517b41cffd76fc23f8c13f0869a770de578b > 64 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L64> > Stored in directory: > /root/.cache/pip/wheels/e2/5a/85/26e91f2a8af819f36960aed0be70c6ac36217f3162e8948030 > 65 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L65>Successfully > built zc.recipe.egg > 66 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L66>Installing > collected packages: zc.buildout, zc.recipe.egg > 67 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L67>Successfully > installed zc.buildout-2.13.3 zc.recipe.egg-2.0.7 > 68 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L68>$ > buildout > 69 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L69>Setting > socket time out to 3 seconds. > 70 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L70>Creating > directory > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/develop-eggs'. > 71 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L71>Develop: > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/.' > 72 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L72>warning: > no files found matching '*.txt' > 73 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L73>warning: > no previously-included files matching '*.pyc' found anywhere in distribution > 74 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L74>warning: > no previously-included files matching '*.*~' found anywhere in distribution > 75 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L75>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../ext/lingua' > (not found) > 76 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L76>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_catalog' > (not found) > 77 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L77>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_file' > (not found) > 78 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L78>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_i18n' > (not found) > 79 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L79>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_mail' > (not found) > 80 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L80>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_site' > (not found) > 81 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L81>Couldn't > develop > '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_utils' > (not found) > 82 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L82>Getting > distribution for 'zc.recipe.testrunner==2.2'. > 83 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L83>Got > zc.recipe.testrunner 2.2. > 84 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L84>Getting > distribution for 'zope.testrunner==5.2'. > 85 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L85>Got > zope.testrunner 5.2. > 86 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L86>Getting > distribution for 'zope.interface==5.2.0'. > 87 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L87>Got > zope.interface 5.2.0. > 88 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L88>Getting > distribution for 'zope.exceptions==4.4'. > 89 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L89>Got > zope.exceptions 4.4. > 90 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L90>Getting > distribution for 'six==1.15.0'. > 91 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L91>Got > six 1.15.0. > 92 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L92>Unused > options for buildout: 'src'. > 93 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L93>Installing > package. > 94 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L94>Getting > distribution for 'zope.traversing==4.4.1'. > 95 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L95>Got > zope.traversing 4.4.1. > 96 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L96>Getting > distribution for 'zope.schema==6.0.0'. > 97 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L97>Got > zope.schema 6.0.0. > 98 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L98>Getting > distribution for 'zope.principalannotation==4.3.0'. > 99 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L99>Got > zope.principalannotation 4.3.0. > 100 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L100>Getting > distribution for 'zope.password==4.3.1'. > 101 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L101>Got > zope.password 4.3.1. > 102 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L102>Getting > distribution for 'zope.location==4.2'. > 103 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L103>Got > zope.location 4.2. > 104 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L104>Getting > distribution for 'zope.lifecycleevent==4.3'. > 105 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L105>Got > zope.lifecycleevent 4.3. > 106 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L106>Getting > distribution for 'zope.intid==4.3.0'. > 107 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L107>Got > zope.intid 4.3.0. > 108 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L108>Getting > distribution for 'zope.container==4.4.0'. > 109 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L109>Got > zope.container 4.4.0. > 110 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L110>Getting > distribution for 'zope.componentvocabulary==2.2.0'. > 111 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L111>Got > zope.componentvocabulary 2.2.0. > 112 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L112>Getting > distribution for 'zope.component==4.6.2'. > 113 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L113>Got > zope.component 4.6.2. > 114 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L114>Getting > distribution for 'zope.annotation==4.7.0'. > 115 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L115>Got > zope.annotation 4.7.0. > 116 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L116>Getting > distribution for 'zodbupdate==1.5'. > 117 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L117>Got > zodbupdate 1.5. > 118 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L118>Getting > distribution for 'pyramid-mailer==0.15.1'. > 119 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L119>Got > pyramid-mailer 0.15.1. > 120 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L120>Getting > distribution for 'pyramid-chameleon==0.3'. > 121 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L121>Traceback > (most recent call last): > 122 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L122> > File "<string>", line 1, in <module> > 123 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L123>ImportError: > cannot import name 'main' from 'setuptools.command.easy_install' > (/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py) > 124 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L124>An > error occurred when trying to install > /tmp/tmpz5bb_4kgget_dist/pyramid_chameleon-0.3.tar.gz. Look above this > message for any errors that were output by easy_install. > 125 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L125> > While: > 126 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L126> > Installing package. > 127 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L127> > Getting distribution for 'pyramid-chameleon==0.3'. > 128 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L128>An > internal error occurred due to a bug in either zc.buildout or in a > 129 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L129>recipe > being used: > 130 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L130>Traceback > (most recent call last): > 131 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L131> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line > 2174, in main > 132 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L132> > getattr(buildout, command)(args) > 133 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L133> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line > 817, in install > 134 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L134> > installed_files = self[part]._call(recipe.install) > 135 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L135> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line > 1603, in _call > 136 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L136> > return f() > 137 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L137> > File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line > 227, in install > 138 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L138> > reqs, ws = self.working_set() > 139 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L139> > File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line > 87, in working_set > 140 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L140> > allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras') > 141 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L141> > File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line > 168, in _working_set > 142 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L142> > allow_unknown_extras=allow_unknown_extras) > 143 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L143> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", > line 957, in install > 144 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L144> > return installer.install(specs, working_set) > 145 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L145> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", > line 730, in install > 146 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L146> > for dist in self._get_dist(req, ws): > 147 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L147> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", > line 574, in _get_dist > 148 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L148> > dists = [_move_to_eggs_dir_and_compile(dist, self._dest)] > 149 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L149> > File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", > line 1745, in _move_to_eggs_dir_and_compile > 150 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L150> > [tmp_loc] = glob.glob(os.path.join(tmp_dest, '*')) > 151 > <https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3162#L151>ValueError: > not enough values to unpack (expected 1, got 0) > > Best regards, > Thierry > -- > https://www.ulthar.net -- http://pyams.readthedocs.io > > > Le mar. 26 janv. 2021 à 11:08, Steve Piercy <[email protected]> > a écrit : > >> pip 21.0 was released on 2021-01-23. It dropped support for Python 3.5. >> >> https://pip.pypa.io/en/latest/news/#id2 >> >> Perhaps try pinning pip to <21.0? >> >> You could also stop supporting Python 3.5, which was EOLed as of >> 2020-09-13. >> >> --steve >> >> >> On 1/26/21 1:27 AM, Thierry Florac wrote: >> > Hi, >> > >> > Sorry if this is not a real Pyramid topic, but I'm looking for a few >> advices... >> > >> > I'm using zc.buildout for a very long time, with zc.recipe.egg, to >> build all my Python packages and also to handle all my deployment >> environments, and I've always been very happy with it! :) >> > But since a few days, I can't install zc.recipe.egg with any Python 3.6 >> or higher version, only with Python 3.5! Here is a traceback from a >> Gitlab-CI job with Python 3.7: >> > >> > 52 < >> https://gitlab.onf.fr/onf/support/python/pyramid/pyams-v2/pyams-security/-/jobs/3138#L53>$ >> ./bin/buildout >> > 65 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L65>Setting >> socket time out to 3 seconds. >> > 66 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L66>Develop: >> '/builds/pyams/pyams-security/.' >> > 67 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L67>warning: >> no files found matching '*.txt' >> > 68 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L68>warning: >> no previously-included files matching '*.pyc' found anywhere in distribution >> > 69 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L69>warning: >> no previously-included files matching '*.*~' found anywhere in distribution >> > 70 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L70>Couldn't >> develop '/builds/pyams/pyams-security/../ext/lingua' (not found) >> > 71 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L71>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_catalog' (not found) >> > 72 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L72>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_file' (not found) >> > 73 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L73>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_i18n' (not found) >> > 74 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L74>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_mail' (not found) >> > 75 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L75>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_site' (not found) >> > 76 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L76>Couldn't >> develop '/builds/pyams/pyams-security/../pyams_utils' (not found) >> > 77 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L77>Getting >> distribution for 'zc.recipe.egg==2.0.7'. >> > 78 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L78>Traceback >> (most recent call last): >> > 79 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L79>File >> "<string>", line 1, in <module> >> > 80 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L80>ImportError: >> cannot import name 'main' from 'setuptools.command.easy_install' >> (/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py) >> > 81 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L81>An >> error occurred when trying to install >> /tmp/tmpfpwsm7_5get_dist/zc.recipe.egg-2.0.7.tar.gz. Look above this >> message for any errors that were output by easy_install. >> > 82 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L82>While: >> > 83 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L83 >> >Installing. >> > 84 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L84>Getting >> section package. >> > 85 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L85>Initializing >> section package. >> > 86 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L86>Installing >> recipe zc.recipe.egg. >> > 87 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L87>Getting >> distribution for 'zc.recipe.egg==2.0.7'. >> > 88 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L88>An >> internal error occurred due to a bug in either zc.buildout or in a >> > 89 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L89>recipe >> being used: >> > 90 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L90>Traceback >> (most recent call last): >> > 91 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L91>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 2174, in main >> > 92 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L92>getattr(buildout, >> command)(args) >> > 93 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L93>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 701, in install >> > 94 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L94>[self[part]['recipe'] >> for part in install_parts] >> > 95 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L95>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 701, in <listcomp> >> > 96 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L96>[self[part]['recipe'] >> for part in install_parts] >> > 97 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L97>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 1324, in __getitem__ >> > 98 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L98 >> >options._initialize() >> > 99 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L99>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 1432, in _initialize >> > 100 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L100 >> >self.initialize() >> > 101 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L101>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 1438, in initialize >> > 102 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L102>recipe_class >> = _install_and_load(reqs, 'zc.buildout', entry, buildout) >> > 103 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L103>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", >> line 1388, in _install_and_load >> > 104 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L104 >> >allow_hosts=buildout._allow_hosts >> > 105 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L105>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", >> line 957, in install >> > 106 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L106>return >> installer.install(specs, working_set) >> > 107 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L107>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", >> line 682, in install >> > 108 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L108>for >> dist in self._get_dist(requirement, ws): >> > 109 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L109>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", >> line 574, in _get_dist >> > 110 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L110>dists >> = [_move_to_eggs_dir_and_compile(dist, self._dest)] >> > 111 <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L111>File >> "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", >> line 1745, in _move_to_eggs_dir_and_compile >> > 112 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L112>[tmp_loc] >> = glob.glob(os.path.join(tmp_dest, '*')) >> > 113 >> > <https://gitlab.com/pyams/pyams-security/-/jobs/986279809#L113>ValueError: >> not enough values to unpack (expected 1, got 0) >> > >> > I have tried many things, but I actually can't make this work anymore! >> > So I'd like to find a solution for this problem, but if I can't, my >> question is just: what is actually a "good" way to handle building and >> deployment of Python packages, in a controlled and "reproducible" manner, >> for development as for production environments (for packages from Python >> 3.5 to 3.9)? >> > >> > Very best regards for any advice! >> > >> > Thierry >> > -- >> > https://www.ulthar.net <https://www.ulthar.net> -- >> http://pyams.readthedocs.io <http://pyams.readthedocs.io> >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "pylons-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected] <mailto: >> [email protected]>. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWA1kNdWXpRqyCrAz3fAWaub8AoAQz%3DuDjYtoKzC9h7HKA%40mail.gmail.com >> < >> https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWA1kNdWXpRqyCrAz3fAWaub8AoAQz%3DuDjYtoKzC9h7HKA%40mail.gmail.com?utm_medium=email&utm_source=footer >> >. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pylons-discuss/01ebfe9d-c22d-2134-6002-2b608a81d896%40gmail.com >> . >> > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWB5Q2KEACUgfONskS-dqxUGR9TQtQauDcZw1L-M8%2Bo89A%40mail.gmail.com.
