Hiya,
it's been a long time since I updated one of my instances so I could easily have missed something obvious. I just ran a buildout of my project which extends the Zope2 buildout and it fails because there is no ztk-versions.cfg in the folder. Is this a bug or should download it separately for my project?
Charlie
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/18/2015 09:06 AM, Charlie Clark wrote:
Hiya,
it's been a long time since I updated one of my instances so I could easily have missed something obvious. I just ran a buildout of my project which extends the Zope2 buildout and it fails because there is no ztk-versions.cfg in the folder. Is this a bug or should download it separately for my project?
It isn't a bug. http://download.zope.org/Zope2/index/2.13.23/versions.cfg has the fully-expanded set of versions for Zope 2.13.23's dependencies, with no inclusion of a separate ZTK configuration.
If you really want the ZTK versions file, you should be pointing at the release index for the ZTK release you depend on, probably http://download.zope.org/zopetoolkit/index/1.0.8/ztk-versions.cfg
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com
On 20 Jul 2015, at 23:01, Tres Seaver wrote:
On 07/18/2015 09:06 AM, Charlie Clark wrote:
Hiya,
it's been a long time since I updated one of my instances so I could easily have missed something obvious. I just ran a buildout of my project which extends the Zope2 buildout and it fails because there is no ztk-versions.cfg in the folder. Is this a bug or should download it separately for my project?
It isn't a bug. http://download.zope.org/Zope2/index/2.13.23/versions.cfg has the fully-expanded set of versions for Zope 2.13.23's dependencies, with no inclusion of a separate ZTK configuration.
If you really want the ZTK versions file, you should be pointing at the release index for the ZTK release you depend on, probably http://download.zope.org/zopetoolkit/index/1.0.8/ztk-versions.cfg
Tres.
http://download.zope.org/Zope2/index/2.13.23/versions.cfg lists ztk-versions.cfg in its extends section, but it doesn't exist in the folder. If we're not intending to use it, it should get removed from that file.
Eric
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/20/2015 11:33 PM, Eric Steele wrote:
On 20 Jul 2015, at 23:01, Tres Seaver wrote:
On 07/18/2015 09:06 AM, Charlie Clark wrote:
Hiya,
it's been a long time since I updated one of my instances so I could easily have missed something obvious. I just ran a buildout of my project which extends the Zope2 buildout and it fails because there is no ztk-versions.cfg in the folder. Is this a bug or should download it separately for my project?
It isn't a bug. http://download.zope.org/Zope2/index/2.13.23/versions.cfg has the fully-expanded set of versions for Zope 2.13.23's dependencies, with no inclusion of a separate ZTK configuration.
If you really want the ZTK versions file, you should be pointing at the release index for the ZTK release you depend on, probably http://download.zope.org/zopetoolkit/index/1.0.8/ztk-versions.cfg
Tres.
http://download.zope.org/Zope2/index/2.13.23/versions.cfg lists ztk-versions.cfg in its extends section, but it doesn't exist in the folder. If we're not intending to use it, it should get removed from that file.
Interesting -- the 'versions.cfg' file is not actually present in the repo tag / release tarball at all (by design -- the version pins are inlined into 'bulidout.cfg' and echoed in 'requirements.txt'):
https://github.com/zopefoundation/Zope/tree/2.13.23
It looks like the http://download.zope.org/Zope2/index/2.13.23/versions.cfg file is generated by 'zope.z2release' (which I used to generate the index directory). That tool needs updating to avoid generating the 'extends' bit, as well as a long-pending PR to use the JSON API on PyPI.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com
Am .07.2015, 14:27 Uhr, schrieb Tres Seaver tseaver@palladion.com:
Tres,
coming back to this.
Interesting -- the 'versions.cfg' file is not actually present in the repo tag / release tarball at all (by design -- the version pins are inlined into 'bulidout.cfg' and echoed in 'requirements.txt'): https://github.com/zopefoundation/Zope/tree/2.13.23
It looks like the http://download.zope.org/Zope2/index/2.13.23/versions.cfg file is generated by 'zope.z2release' (which I used to generate the index directory). That tool needs updating to avoid generating the 'extends' bit, as well as a long-pending PR to use the JSON API on PyPI.
What the easiest way to use the sources and ztk from the repository without checking it all out?
Charlie
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11/06/2015 10:03 AM, Charlie Clark wrote:
Am .07.2015, 14:27 Uhr, schrieb Tres Seaver tseaver@palladion.com:
Tres,
coming back to this.
Interesting -- the 'versions.cfg' file is not actually present in the repo tag / release tarball at all (by design -- the version pins are inlined into 'bulidout.cfg' and echoed in 'requirements.txt'): https://github.com/zopefoundation/Zope/tree/2.13.23
It looks like the http://download.zope.org/Zope2/index/2.13.23/versions.cfg file is generated by 'zope.z2release' (which I used to generate the index directory). That tool needs updating to avoid generating the 'extends' bit, as well as a long-pending PR to use the JSON API on PyPI.
What the easiest way to use the sources and ztk from the repository without checking it all out?
Right now, the simplest thing would be to download the 2.13.23 versions.cfg file and edit out the 'extends' line. Or you can 'touch ztk-veresions.cfg' in that directory.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com
Am .11.2015, 18:02 Uhr, schrieb Tres Seaver tseaver@palladion.com:
Right now, the simplest thing would be to download the 2.13.23 versions.cfg file and edit out the 'extends' line. Or you can 'touch ztk-veresions.cfg' in that directory.
Facepalm! Sometimes I'm so stupid I don't know how I get through the day!
Charlie