1. 03 Sep, 2022 3 commits
    • refactor: once again rework get-poetry.py · 58d2b996
      The new plan is described in https://github.com/python-poetry/poetry/issues/6377.
      
      With these changes, we see the following behaviors:
      
      ```sh
      $ python get-poetry.py
      
      Retrieving Poetry metadata
      
      This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.
      See https://github.com/python-poetry/poetry/issues/6377 for details.
      
      You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer.
      Instructions are available at https://python-poetry.org/docs/#installation.
      
      Without an explicit version, this installer will attempt to install the latest version of Poetry.
      This installer cannot install Poetry 1.2.0a1 or newer (and installs will be unable to `self update` to 1.2.0a1 or newer).
      
      To continue to use this deprecated installer, you must specify an explicit version with --version <version> or POETRY_VERSION=<version>.
      Alternatively, if you wish to force this deprecated installer to use the latest installable release, set GET_POETRY_IGNORE_DEPRECATION=1.
      
      Version 1.2.0 is not supported by this installer! Please specify a version prior to 1.2.0a1 to continue!
      ```
      ```sh
      $ python get-poetry.py --version 1.2.0
      
      Retrieving Poetry metadata
      
      This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.
      See https://github.com/python-poetry/poetry/issues/6377 for details.
      
      You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer.
      Instructions are available at https://python-poetry.org/docs/#installation.
      
      Without an explicit version, this installer will attempt to install the latest version of Poetry.
      This installer cannot install Poetry 1.2.0a1 or newer (and installs will be unable to `self update` to 1.2.0a1 or newer).
      
      To continue to use this deprecated installer, you must specify an explicit version with --version <version> or POETRY_VERSION=<version>.
      Alternatively, if you wish to force this deprecated installer to use the latest installable release, set GET_POETRY_IGNORE_DEPRECATION=1.
      
      Version 1.2.0 is not supported by this installer! Please specify a version prior to 1.2.0a1 to continue!
      ```
      ```sh
      $ python get-poetry.py --version 1.1.15
      
      Retrieving Poetry metadata
      
      This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.
      See https://github.com/python-poetry/poetry/issues/6377 for details.
      
      You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer.
      Instructions are available at https://python-poetry.org/docs/#installation.
      
      [install of 1.1.15]
      ```
      ```sh
      $ GET_POETRY_IGNORE_DEPRECATION=1 python get-poetry.py
      
      Retrieving Poetry metadata
      
      This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.
      See https://github.com/python-poetry/poetry/issues/6377 for details.
      
      You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer.
      Instructions are available at https://python-poetry.org/docs/#installation.
      
      Version 1.2.0 is available but is not supported by this installer!
      Version 1.1.15 will be installed as it is the latest version supported by this installer.
      
      This is not the latest version of Poetry! If you wish to install the latest version, you must move to the new installer as described above!
      
      [install of 1.1.15]
      ```
      Bjorn Neergaard committed
    • tests: fix constraint · b34cf21b
      Randy Döring committed
    • chore: fix minor typo · a2cd7070
      Branch Vincent committed
  2. 02 Sep, 2022 9 commits
  3. 01 Sep, 2022 7 commits
  4. 31 Aug, 2022 13 commits
  5. 30 Aug, 2022 1 commit
  6. 28 Aug, 2022 4 commits
    • remove special cases from depth first search · 27fa9c1e
      - regular depth-first search already handles circular dependencies and
        hitting the same package twice
        - the special cases might have saved a teensy amount of work, but the
          simplification is preferable
      
      - pre-release handling here was not consistent with code elsewhere, and
        since "elsewhere" happens first, it wins
        - given a constraint like ">=1.0" the removed code would have allowed
          1.0rc1, but elsewhere in the codebase constraints are taken to mean
          what they say
      David Hotham committed
    • Misc cleanups (#6256) · 3ff5a39b
      No functional change or fixes here, just tidier code:
      * prefer Path.exists()
      * typechecking - NormalizedNames from poetry-core
      * clean up some unnecessary duplication
      * minor refactor
      * gather the pyproject.toml parsing into one block, save a level of indentation
      * remove more dead code
      * simplify handling of extras at command line
      * more abstract types 
      David Hotham committed
    • doc(configuration): improve documentation (#6254) · 73e4bde8
      # Pull Request Check List
      
      - [ ] Added **tests** for changed code.
      - [ ] Updated **documentation** for changed code.
      
      Bunch of improvements over `Configuration` documentation:
      - Better show default value of options
      - Add some missing `Introduced in <VERSION>` notes
      - Add backticks around types for better readability
      
      Will backport to `1.2` branch before final release.
      Mathieu Kniewallner committed
  7. 27 Aug, 2022 3 commits