- 31 Oct, 2023 1 commit
-
-
Łukasz Nowak authored
extends can be interpreted as inheritance in OOP, but the original behaviour was against what is commonly (always?) seen everywhere. It is however good practice a file extends all files it needs directly (and only them). Then if two files A & B (possibly unrelated) extends the same third C, A was unable to overrides C values. It was even error-prone because someone who don't use B yet could override C values in A and later extending B would break A. For some of our common use cases, this new algorithm is also 9x faster (time to annotate: ~2.3s with -> ~.29s). Other changes: - ~/ is now expanded for non-url extends. - An absolute (non-url) path is not longer treated like a local path if the base is a url. - Better path/url normalization. Rebase instructions: - squash with "Chomp ../ from beginging of filenames" - split and apply "Support ${:_profile_base_location_}." after Sqaushed with Chomp ../ from beginging of filenames. In order to have as canonical as possible paths, chomp ../ from filenames and recalculate base.
-
- 04 Dec, 2019 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
--setuptools-version and --buildout-version options in bootstrap script still have the priority.
-
Julien Muchembled authored
One big issue in commit e129e187 is that the initial value of buildout_and_setuptools_path can cause buildout to use a lot of CPU at startup. The following change would help: def buildout_and_setuptools_path(): r = [get_python_lib(standard_lib=1)] for d in pkg_resources.working_set: d = d.location if d not in r: r.append(d) return r[1:] buildout_and_setuptools_path = buildout_and_setuptools_path() but initializing buildout_and_setuptools_dists also takes time to compute, and it's only used for bootstrap. Because the commit is not required anymore since setuptools 36, it's easier for us to revert partially, so we can keep applying our patches.
-
- 26 Nov, 2019 3 commits
-
-
Jason Madden authored
(cherry picked from commit 18964211)
-
https://pypi.org/Michael Howitz authored
(cherry picked from commit 73b1377c27d9b4c490792cbdcfc2a2e88d83d3d1)
-
David Beitey authored
PyPI redirects HTTP to HTTPS by default now so using HTTPS directly avoids the potential for that redirect being modified in flight, helping prevent MITM attacks. Fixes #114. (cherry picked from commit fac9979f)
-
- 31 Jan, 2017 6 commits
-
-
Jim Fulton authored
[ci skip]
-
Jim Fulton authored
Fixes #326
-
Jim Fulton authored
Mainly to disable it when just trying to get distributions for buildout and setuptools.
-
Jim Fulton authored
That I can no longer reproduce. NFC
-
Jim Fulton authored
-
Jim Fulton authored
Fixed a bug introduced in 2.6.0: zc.buildout and its dependeoncies were reported as picked even when their versions were fixed in a ``versions`` section. Worse, when the ``update-versions-file`` option was used, the ``versions`` section was updated needlessly on every run.
-
- 30 Jan, 2017 5 commits
-
-
Jim Fulton authored
[ci skip]
-
Jim Fulton authored
[ci skip]
-
Jim Fulton authored
-
Jim Fulton authored
Added a buildout option, ``abi-tag-eggs``
-
Jim Fulton authored
As suggested in: https://github.com/buildout/buildout/pull/325 Also simplified _setup_directories to not bother with the eggs directory, since that's handled elsewhere.
-
- 29 Jan, 2017 12 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
that, when true, causes the `ABI tag <https://www.python.org/dev/peps/pep-0425/#abi-tag>`_ for the buildout environment to be added to the eggs directory name. This is useful when switching Python implementations (e.g. CPython vs PyPI or debug builds vs regular builds), especially when environment differences aren't reflected in egg names. It also has the side benefit of making eggs directories smaller, because eggs for different Python versions are in different directories.
-
Jim Fulton authored
-
Jim Fulton authored
Python 3.6
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
Update to work with setuptools 34
-
Jim Fulton authored
whatever
-
Jim Fulton authored
-
Jim Fulton authored
-
- 28 Jan, 2017 4 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
- 05 Sep, 2016 6 commits
-
-
Reinout van Rees authored
Editing while reading
-
Reinout van Rees authored
[ci skip]
-
Reinout van Rees authored
[ci skip]
-
Reinout van Rees authored
Do not remove an existing egg.
-
Maurits van Rees authored
After a dist is fetched and put into its final place, compile its python files. No longer wait with compiling until all dists are in place. This avoids calling redo_pyc at the same time by two parallel buildouts. It might not be so bad, but it seems better (and faster) to avoid it. See discussion at https://github.com/buildout/buildout/issues/307
-
Maurits van Rees authored
When installing an egg to a location that already exists, keep the current location (directory or file). This can only happen when the location at first did not exist and this changed during the buildout run. We used to remove the previous location, but this could cause problems when running two buildouts at the same time, when they try to install the same new egg. Fixes #307.
-