pulp / pulp-cli

https://docs.pulpproject.org/pulp_cli/
GNU General Public License v2.0
36 stars 42 forks source link

[PIP] Update tomli-w requirement from <1.1,>=1.0.0 to >=1.0.0,<1.2 #1099

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Updates the requirements on tomli-w to permit the latest version.

Changelog

Sourced from tomli-w's changelog.

1.1.0

  • Removed
    • Support for Python 3.7 and 3.8
  • Added
    • Accept generic collections.abc.Mapping, not just dict, as input. Thank you Watal M. Iwasaki for the PR.
    • indent keyword argument for customizing indent width of arrays. Thank you Wim Jeantine-Glenn for the PR.
  • Type annotations
    • Type annotate dump function's output stream object as typing.IO[bytes] (previously typing.BinaryIO)

1.0.0

  • Removed
    • Support for Python 3.6
    • Positional arguments of dump and dumps can no longer be passed by keyword.
  • Changed
    • Revised logic for when the "Array of Tables" syntax will be used. AoT syntax is used when at least one of the tables needs multiple lines, or a single line wider than 100 chars, when rendered inline. A nested structure no longer alone triggers the AoT syntax.

0.4.0

  • Added
    • Support for formatting Python tuples as TOML arrays.
  • Fixed
    • Formatting of decimal.Decimal("inf"), decimal.Decimal("-inf") and decimal.Decimal("nan").
  • Changed
    • A list of dicts is now rendered using the "Array of Tables" syntax if at least one of the tables is a nested structure, or at least one of the tables would need a line wider than 100 chars when rendered inline. Thank you Anderson Bravalheri for the PR.

0.3.0

  • Changed
    • dump now supports binary file objects instead of text file objects

0.2.2

  • Added
    • multiline_strings keyword argument for enabling multi-line strings
  • Changed
    • Style: Do not make multi-line strings by default because they don't support lossless round-tripping

0.2.1

... (truncated)

Commits
  • 1791056 Bump version: 1.0.0 β†’ 1.1.0
  • fc17bb4 Add v1.1.0 changelog
  • 293e0a1 Raise ValueError when indent is negative. Update README
  • 54268af Use py3.8 positional-only parameter syntax
  • bd014da [pre-commit.ci] pre-commit autoupdate (#47)
  • af607ff Add indent control knob (#49)
  • 36354bd Fix GitHub Actions badge
  • 8ef725e Drop support for EOL Python 3.7 and 3.8 (#51)
  • deec36a Accept generic mapping types (#46)
  • 9d939b5 [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
patchback[bot] commented 1 month ago

Backport to 0.29: πŸ’” cherry-picking failed β€” conflicts found

❌ Failed to cleanly apply fbc79e263fe2c1aef4b99e4ab04d851444306c85 on top of patchback/backports/0.29/fbc79e263fe2c1aef4b99e4ab04d851444306c85/pr-1099

Backporting merged PR #1099 into main

  1. Ensure you have a local repo clone of your fork. Unless you cloned it from the upstream, this would be your origin remote.
  2. Make sure you have an upstream repo added as a remote too. In these instructions you'll refer to it by the name upstream. If you don't have it, here's how you can add it:
    $ git remote add upstream https://github.com/pulp/pulp-cli.git
  3. Ensure you have the latest copy of upstream and prepare a branch that will hold the backported code:
    $ git fetch upstream
    $ git checkout -b patchback/backports/0.29/fbc79e263fe2c1aef4b99e4ab04d851444306c85/pr-1099 upstream/0.29
  4. Now, cherry-pick PR #1099 contents into that branch:
    $ git cherry-pick -x fbc79e263fe2c1aef4b99e4ab04d851444306c85

    If it'll yell at you with something like fatal: Commit fbc79e263fe2c1aef4b99e4ab04d851444306c85 is a merge but no -m option was given., add -m 1 as follows instead:

    $ git cherry-pick -m1 -x fbc79e263fe2c1aef4b99e4ab04d851444306c85
  5. At this point, you'll probably encounter some merge conflicts. You must resolve them in to preserve the patch from PR #1099 as close to the original as possible.
  6. Push this branch to your fork on GitHub:
    $ git push origin patchback/backports/0.29/fbc79e263fe2c1aef4b99e4ab04d851444306c85/pr-1099
  7. Create a PR, ensure that the CI is green. If it's not β€” update it so that the tests and any other checks pass. This is it! Now relax and wait for the maintainers to process your pull request when they have some cycles to do reviews. Don't worry β€” they'll tell you if any improvements are necessary when the time comes!

πŸ€– @patchback I'm built with octomachinery and my source is open β€” https://github.com/sanitizers/patchback-github-app.