Pyramid packaging

28 views
Skip to first unread message

Thierry Florac

unread,
Jan 26, 2021, 4:27:43 AM1/26/21
to pylons-...@googlegroups.com
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$ ./bin/buildout
65Setting socket time out to 3 seconds.
66Develop: '/builds/pyams/pyams-security/.'
67warning: no files found matching '*.txt'
68warning: no previously-included files matching '*.pyc' found anywhere in distribution
69warning: no previously-included files matching '*.*~' found anywhere in distribution
70Couldn't develop '/builds/pyams/pyams-security/../ext/lingua' (not found)
71Couldn't develop '/builds/pyams/pyams-security/../pyams_catalog' (not found)
72Couldn't develop '/builds/pyams/pyams-security/../pyams_file' (not found)
73Couldn't develop '/builds/pyams/pyams-security/../pyams_i18n' (not found)
74Couldn't develop '/builds/pyams/pyams-security/../pyams_mail' (not found)
75Couldn't develop '/builds/pyams/pyams-security/../pyams_site' (not found)
76Couldn't develop '/builds/pyams/pyams-security/../pyams_utils' (not found)
77Getting distribution for 'zc.recipe.egg==2.0.7'.
78Traceback (most recent call last):
79 File "<string>", line 1, in <module>
80ImportError: cannot import name 'main' from 'setuptools.command.easy_install' (/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py)
81An 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.
82While:
83 Installing.
84 Getting section package.
85 Initializing section package.
86 Installing recipe zc.recipe.egg.
87 Getting distribution for 'zc.recipe.egg==2.0.7'.
88An internal error occurred due to a bug in either zc.buildout or in a
89recipe being used:
90Traceback (most recent call last):
91 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 2174, in main
92 getattr(buildout, command)(args)
93 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 701, in install
94 [self[part]['recipe'] for part in install_parts]
95 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 701, in <listcomp>
96 [self[part]['recipe'] for part in install_parts]
97 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 1324, in __getitem__
98 options._initialize()
99 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 1432, in _initialize
100 self.initialize()
101 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/buildout.py", line 1438, in initialize
102 recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
103 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 allow_hosts=buildout._allow_hosts
105 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", line 957, in install
106 return installer.install(specs, working_set)
107 File "/builds/pyams/pyams-security/eggs/zc.buildout-2.13.3-py3.7.egg/zc/buildout/easy_install.py", line 682, in install
108 for dist in self._get_dist(requirement, ws):
109 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 dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
111 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 [tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
113ValueError: 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
-- 

Steve Piercy

unread,
Jan 26, 2021, 5:08:59 AM1/26/21
to pylons-...@googlegroups.com
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 pylons-discus...@googlegroups.com <mailto:pylons-discus...@googlegroups.com>.
> 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>.

Thierry Florac

unread,
Jan 26, 2021, 5:27:46 AM1/26/21
to pylons-...@googlegroups.com
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$ pip --version
53pip 21.0 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
54$ pip install zc.buildout zc.recipe.egg
55Collecting zc.buildout
56 Downloading zc.buildout-2.13.3-py2.py3-none-any.whl (153 kB)
57Collecting zc.recipe.egg
58 Downloading zc.recipe.egg-2.0.7.tar.gz (39 kB)
59Requirement already satisfied: setuptools>=8.0 in /usr/local/lib/python3.7/site-packages (from zc.buildout) (52.0.0)
60Building wheels for collected packages: zc.recipe.egg
61 Building wheel for zc.recipe.egg (setup.py): started
62 Building wheel for zc.recipe.egg (setup.py): finished with status 'done'
63 Created wheel for zc.recipe.egg: filename=zc.recipe.egg-2.0.7-py2.py3-none-any.whl size=30630 sha256=94a85f05da7e1bab3a4781df108d517b41cffd76fc23f8c13f0869a770de578b
64 Stored in directory: /root/.cache/pip/wheels/e2/5a/85/26e91f2a8af819f36960aed0be70c6ac36217f3162e8948030
65Successfully built zc.recipe.egg
66Installing collected packages: zc.buildout, zc.recipe.egg
67Successfully installed zc.buildout-2.13.3 zc.recipe.egg-2.0.7
68$ buildout
69Setting socket time out to 3 seconds.
70Creating directory '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/develop-eggs'.
71Develop: '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/.'
72warning: no files found matching '*.txt'
73warning: no previously-included files matching '*.pyc' found anywhere in distribution
74warning: no previously-included files matching '*.*~' found anywhere in distribution
75Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../ext/lingua' (not found)
76Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_catalog' (not found)
77Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_file' (not found)
78Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_i18n' (not found)
79Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_mail' (not found)
80Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_site' (not found)
81Couldn't develop '/builds/G3v_6jyd/0/onf/support/python/pyramid/pyams-v2/pyams-security/../pyams_utils' (not found)
82Getting distribution for 'zc.recipe.testrunner==2.2'.
83Got zc.recipe.testrunner 2.2.
84Getting distribution for 'zope.testrunner==5.2'.
85Got zope.testrunner 5.2.
86Getting distribution for 'zope.interface==5.2.0'.
87Got zope.interface 5.2.0.
88Getting distribution for 'zope.exceptions==4.4'.
89Got zope.exceptions 4.4.
90Getting distribution for 'six==1.15.0'.
91Got six 1.15.0.
92Unused options for buildout: 'src'.
93Installing package.
94Getting distribution for 'zope.traversing==4.4.1'.
95Got zope.traversing 4.4.1.
96Getting distribution for 'zope.schema==6.0.0'.
97Got zope.schema 6.0.0.
98Getting distribution for 'zope.principalannotation==4.3.0'.
99Got zope.principalannotation 4.3.0.
100Getting distribution for 'zope.password==4.3.1'.
101Got zope.password 4.3.1.
102Getting distribution for 'zope.location==4.2'.
103Got zope.location 4.2.
104Getting distribution for 'zope.lifecycleevent==4.3'.
105Got zope.lifecycleevent 4.3.
106Getting distribution for 'zope.intid==4.3.0'.
107Got zope.intid 4.3.0.
108Getting distribution for 'zope.container==4.4.0'.
109Got zope.container 4.4.0.
110Getting distribution for 'zope.componentvocabulary==2.2.0'.
111Got zope.componentvocabulary 2.2.0.
112Getting distribution for 'zope.component==4.6.2'.
113Got zope.component 4.6.2.
114Getting distribution for 'zope.annotation==4.7.0'.
115Got zope.annotation 4.7.0.
116Getting distribution for 'zodbupdate==1.5'.
117Got zodbupdate 1.5.
118Getting distribution for 'pyramid-mailer==0.15.1'.
119Got pyramid-mailer 0.15.1.
120Getting distribution for 'pyramid-chameleon==0.3'.
121Traceback (most recent call last):
122 File "<string>", line 1, in <module>
123ImportError: cannot import name 'main' from 'setuptools.command.easy_install' (/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py)
124An 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.
125While:
126 Installing package.
127 Getting distribution for 'pyramid-chameleon==0.3'.
128An internal error occurred due to a bug in either zc.buildout or in a
129recipe being used:
130Traceback (most recent call last):
131 File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line 2174, in main
132 getattr(buildout, command)(args)
133 File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line 817, in install
134 installed_files = self[part]._call(recipe.install)
135 File "/usr/local/lib/python3.7/site-packages/zc/buildout/buildout.py", line 1603, in _call
136 return f()
137 File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line 227, in install
138 reqs, ws = self.working_set()
139 File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line 87, in working_set
140 allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras')
141 File "/usr/local/lib/python3.7/site-packages/zc/recipe/egg/egg.py", line 168, in _working_set
142 allow_unknown_extras=allow_unknown_extras)
143 File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 957, in install
144 return installer.install(specs, working_set)
145 File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 730, in install
146 for dist in self._get_dist(req, ws):
147 File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 574, in _get_dist
148 dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
149 File "/usr/local/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 1745, in _move_to_eggs_dir_and_compile
150 [tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
151ValueError: not enough values to unpack (expected 1, got 0)

Best regards,
Thierry
-- 
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/01ebfe9d-c22d-2134-6002-2b608a81d896%40gmail.com.

Thierry Florac

unread,
Jan 26, 2021, 5:43:10 AM1/26/21
to pylons-...@googlegroups.com
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

Chris May

unread,
Jan 26, 2021, 7:22:25 AM1/26/21
to pylons-...@googlegroups.com
I’ve been using pip-tools on my projects. I know several others who enjoy poetry. 


On Jan 26, 2021, at 5:43 AM, Thierry Florac <tfl...@gmail.com> wrote:



Jürgen Gmach

unread,
Jan 26, 2021, 7:53:31 AM1/26/21
to pylons-...@googlegroups.com
Am Di., 26. Jan. 2021 um 11:43 Uhr schrieb Thierry Florac <tfl...@gmail.com>:
>
> 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...
>


Could you report this on the buildout issue tracker?
https://github.com/buildout/buildout/issues

Thank you!

Jason Madden

unread,
Jan 26, 2021, 8:28:44 AM1/26/21
to pylons-...@googlegroups.com

> Am Di., 26. Jan. 2021 um 11:43 Uhr schrieb Thierry Florac <tfl...@gmail.com>:
>>
>> 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...
>>

zc.buildout 3.0a2 should be compatible with modern setuptools. This is because 3.0a1 began using `pip install` instead of calling `setuptools.easy_install`.

Jonathan Vanasco

unread,
Jan 26, 2021, 11:24:06 AM1/26/21
to pylons-discuss
FWIW, Based on the stacktrace, I do not think this is the cause -- but it could be. There have been a few related bugs in setuptools and pip regarding the version parser and tag_build directives; the errors I've seen were not like this - but I saw 3 completely different errors from these over the past 2 weeks:

https://github.com/pypa/pip/issues/9446
https://github.com/pypa/setuptools/issues/2529

Reply all
Reply to author
Forward
0 new messages