1. 24 Oct, 2023 1 commit
    • Kazuhiko Shiozaki's avatar
      Support ${:_profile_base_location_} · d408da37
      Kazuhiko Shiozaki authored
      Squashed with:
      
      Chomp ../ from beginging of filenames
      
      In order to have as canonical as possible paths,
      chomp ../ from filenames and recalculate base.
      
      Squashed with:
      
      fixup! Support ${:_profile_base_location_}
      d408da37
  2. 23 Oct, 2023 2 commits
    • Xavier Thompson's avatar
      Customize version number using .devN · b1c304b0
      Xavier Thompson authored
      b1c304b0
    • Xavier Thompson's avatar
      Avoid considering sys.path for distributions · d5ba0c53
      Xavier Thompson authored
      When looking up a distribution to install an egg, keep strictly to
      the provided index-url and find-links and do not use distributions
      that are already on sys.path.
      
      This change was introduced because of a situation where installing
      an egg failed due to a bad distribution somehow available inside a
      virtual environment. Could not remember how to reproduce.
      d5ba0c53
  3. 20 Oct, 2023 2 commits
    • Xavier Thompson's avatar
      Consider only local egg paths when bootstrapping · e08d51e6
      Xavier Thompson authored
      By default egg installation considers the path where buildout
      and other build tools such as setuptools are installed to see
      if the requested eggs are already installed there.
      
      With the new bootstrapping behavior, bootstrap should install
      buildout and the other build tools in the local egg directory
      even if the pinned versions are already installed in sys.path.
      e08d51e6
    • Xavier Thompson's avatar
      Change bootstrap behavior · 2808e930
      Xavier Thompson authored
      With this mode zc.buildout and its dependencies are installed
      from scratch directly in the local eggs directory, following
      the pinned versions if any apply.
      
      In offline mode this merely ensures that the required eggs are
      already installed in the local eggs and develop-eggs directory.
      
      The previous behavior is still available by passing a non-empty
      set of arguments to bootstrap, e.g. bootstrap --old-behavior.
      2808e930
  4. 18 Sep, 2023 1 commit
  5. 08 Nov, 2022 2 commits
  6. 06 Nov, 2022 31 commits
  7. 05 Nov, 2022 1 commit
    • Maurits van Rees's avatar
      Make compatible with pip 22.2+, restoring Requires-Python patch (#616) · 6fed3ff0
      Maurits van Rees authored
      * Make compatible with pip 22.2+, restoring Requires-Python functionality there.
      
      Fixes https://github.com/buildout/buildout/issues/613.
      
      Note: we are patching `process_url` from `setuptools`.
      The existing comment says that this method was copied over from setuptools 46.1.3.
      I was wondering, so I checked: the method is still the same in latest setuptools.  And it is largely unchanged since setuptools 42.0.2.
      So for that part we should still be compatible with quite a long range of setuptools versions.
      
      * process_url patch: must pass cache_link_parsing=False.
      
      This fixes test failures: extdemo-1.5 was not found, because the previous index page containing only extdemo-1.4 was cached.
      We were passing this before to HTMLPage, and still do as a fallback, but I missed that this was also needed in pip 22.2+ for the new IndexContent class.
      6fed3ff0