Files @ e7d6373631c4
Branch filter:

Location: kallithea/.hgtags

Thomas De Schampheleire
setup.py: support Paste 3.0.x

In a fresh virtualenv on the stable branch, pastescript 3.0.0 is installed
which depends on paste 3.0.x. Using this virtualenv to upgrade to the
default branch, using 'pip install --upgrade -e .' fails because on the
default branch, the paste version is restricted with '>= 2.0.3, < 3'.
Following error occurs:

pastescript 3.0.0 has requirement Paste>=3.0, but you'll have paste 2.0.3 which is incompatible.
...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".../kallithea/kallithea-release/setup.py", line 160, in <module>
""",
File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File ".../kallithea/venv/kallithea-release/lib/python2.7/site-packages/setuptools/command/develop.py", line 36, in run
self.install_for_development()
File ".../kallithea/venv/kallithea-release/lib/python2.7/site-packages/setuptools/command/develop.py", line 117, in install_for_development
self.run_command('egg_info')
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File ".../kallithea/venv/kallithea-release/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 270, in run
ep.require(installer=installer)
File ".../kallithea/venv/kallithea-release/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2307, in require
items = working_set.resolve(reqs, env, installer)
File ".../kallithea/venv/kallithea-release/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (Paste 2.0.3 (.../kallithea/venv/kallithea-release/lib/python2.7/site-packages), Requirement.parse('Paste>=3.0'))


The '< 3' restriction is introduced with commit
e1ab826131334150b1f003e26de3207c34fc6e67 in January 2017, at which point
2.0.3 was the latest version. Version 3.0.0 was introduced in October 2018.

Paste has a new maintainer and moved to github, after years of
inactivity (March 2016 -> Oct 2018). There have AFAICS not been
incompatible changes. This analysis is based on:
- the news file: https://pythonpaste.readthedocs.io/en/latest/news.html
- the commit message of the 3.0.0 release:
(https://github.com/cdent/paste/commit/9ceef07267ba83ea5c00533f85f9edf9ba38cd71)

"This is for the sake of getting something out there, including
fixes to get stuff working with Python 3.7."

- and a walk through the commits since 2.0.3 on github
(https://github.com/cdent/paste/commits/master).
c097458480a5972dd75d5695b61e855fd0ab371e rhodecode-0.0.0.7.0
8bdec09436cb7e4a764bd2ba50b84060e30eb34f rhodecode-0.0.0.7.1
1a18994cdc3bdd156ee93c7c0fb8d94a88f1f640 rhodecode-0.0.0.7.2
a3a7c3e03b76ee264a828cb1087970bb98bbffcd rhodecode-0.0.0.7.3
58b46f9194c347641bfc9a26697ef413a4761971 rhodecode-0.0.0.7.4
710e7a75bb6b8346cee3bd0ddda67592e4790268 rhodecode-0.0.0.7.5
ca80f8c0056211dad33483a50b913593516d7a6c rhodecode-0.0.0.7.6
0cf49c29c846fefeb4e1a222e4b1850e9e3eaa62 rhodecode-0.0.0.7.7
702c7e565c56a49c89414e81f28571c8e5b67408 rhodecode-0.0.0.7.8
c12f4d19c95065f313eefcd45eac9ef507f5fa55 rhodecode-0.0.0.7.9
558eb7c5028f24a90b5466ed16be13b213ba1fc2 rhodecode-0.0.0.8.0
a9814a642e11092b243ca01721254a04633a0ffc rhodecode-0.0.0.8.1
ccbe729908844884aea89d00fb14a6cb92e10c06 rhodecode-0.0.0.8.2
ca41d544dbdfd2f81bd0304168492a26276aadb6 rhodecode-0.0.0.8.3
2fa16ec5822da0c6fade3dd1ed9b6c0655e5dbbf rhodecode-0.0.0.8.4
16ba57d8fe2317c49dbd422afd07ab497687aa02 rhodecode-0.0.0.8.5
53128b6b9a4ddb6ee9554cbb83a082a6d1316b42 rhodecode-0.0.1.0.0rc4
afd98d1f817e6a6b52172735c22160239e615a6b rhodecode-0.0.1.0.0
bee56f209c40a6880f2f633b02227b5ee1f8ff5a rhodecode-0.0.1.0.1
d85b0948e53925ebbbc49e9f7967013a04f866e9 rhodecode-0.0.1.0.2
d9c8dddb96af521e346f05b88d515c536eef3d17 rhodecode-0.0.1.1.0
344f748517814ed0408a49e392dc625f4cc37fdc rhodecode-0.0.1.1.1
6c01c12eafb8cc72d4c4cbd121400fad755b2862 rhodecode-0.0.1.1.2
4fa80e0484ef5c33feaa9c39fc66916f410ba353 rhodecode-0.0.1.1.3
cb77867d69d3c5931712aac486c980a42ee90745 rhodecode-0.0.1.1.5
cb77867d69d3c5931712aac486c980a42ee90745 rhodecode-0.0.1.1.5
008bdfdd95c8bd31ae6d89f76c75c1f49cbcd0bc rhodecode-0.0.1.1.5
c5af1d3c861fb36b156224e75c2f55a97f54657d rhodecode-0.0.1.1.6
7327a0d1584cf28d33e738048af1f6809d499451 rhodecode-0.0.1.1.7
bd102f45950f779995a1beae42b6eb099cdd27b3 rhodecode-0.0.1.1.7
c8974135732aa0ceb841cee6df66e29f089b4963 rhodecode-0.0.1.1.8
c252049af24cd98eef5f4143fa3abbff3c912e29 rhodecode-0.0.1.2.0
0b8fba8ab90b01f811a50e6e7384989cced21d38 rhodecode-0.0.1.2.1
22273bec00ba2fd860c60a9277d3d7229e288e18 rhodecode-0.0.1.2.2
1ff606a7858dbd8a5f70b3da5cc89524bd0d84f9 rhodecode-0.0.1.2.3
a7a282a902b207ce34e830d643c79b7ab52e3b35 rhodecode-0.0.1.2.4
b6b611e7722e754abebaae6e265cbb4c823d344d rhodecode-0.0.1.2.5
dbc82e3362a25d2aece42060089824c4342efd17 rhodecode-0.0.1.3.0
79a95f338fd0115b2cdb77118f39e17d22ff505c rhodecode-0.0.1.3.1
9ab21c5ddb84935bea5c743b4e147ed5a398b30c rhodecode-0.0.1.3.2
934906f028b582a254e0028ba25e5d20dd32b9cd rhodecode-0.0.1.3.3
af21362474e3ab5aa0e2fbb1c872356f2c16c4f3 rhodecode-0.0.1.3.4
0e2792e04bd316fe64335cbe6a476031ac60b29b rhodecode-0.0.1.3.5
edfff9f37916389144d3a3644d0a7d7adfd79b11 rhodecode-0.0.1.3.6
9ae95fdeca184f2404205645f06c6597b74ef2db rhodecode-0.0.1.4.0
909143a4dde53c46d4f24abb426ec870471c7de1 rhodecode-0.0.1.4.1
d998cc84cf726798486a438763053f0e1dc1b646 rhodecode-0.0.1.4.2
3f5d40b9dd99ccb009ea2211ee2d4b594c634946 rhodecode-0.0.1.4.3
3148c08cf86f1849917e2d50f7ab7766c1550b0a rhodecode-0.0.1.4.4
a5f0bc867edc88be23eb808693e5393a97d4c54a rhodecode-0.0.1.5.0
3259dc7caea48687eab018ee646ae6ad7e7ef377 rhodecode-0.0.1.5.1
efe23d6c178c11d575a0214181276a3452776e48 rhodecode-0.0.1.5.2
1a498b11f1540f5b94b6f6009298f5dc3eaad9e9 rhodecode-0.0.1.5.3
3447862ad8c9ceba85857774c526e39fde3a2281 rhodecode-0.0.1.5.4
c15d7b336af58df9f1bbc8f8957464e7ea618d4c rhodecode-0.0.1.6.0rc1
78b53ee0d247f90d51b028307ff5717851b6c265 rhodecode-0.0.1.6.0
351ad34d56321349ff5bd38f537bd768b8efef2e rhodecode-0.0.1.7.0
1f71ef689d2a3c9978cea6591a1f4e9107a5ca83 rhodecode-0.0.1.7.1
cc48c1541c7e2e84114bf92a0f9cd4b8b1341545 0.0
d17e88a1a88a29f6fac948c94498129e405a40d3 0.1
ad0ce803b40cb17fc3988373052943e041030b02 0.2
c6e32714336345403adf76abb6ebf9b8116fcdc7 0.2.1
14f488a5dc4ca6647bc6acf12534fd137e968aa8 0.2.2
9b3e9e242f5c97cc0c7657e5ac93dce7de61ca16 0.3
9bf8eb837e785b6856ccfac264e977ce3ebe1535 0.3.1
a84d40e9481fcea4dafadee86b03f0dd401527d6 0.3.2
64ea7ea0923618a0c117acebb816a6f0d162bfdb 0.3.3
cf635c823ea059cc3a1581b82d8672e46b682384 0.3.4
4cca4cc6a0a97f4c4763317184cd41aca4297630 0.3.5
082c9b8f0f17bd34740eb90c69bdc4c80d4b5b31 0.3.6