Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 19, 2024

Updates the requirements on tomli to permit the latest version.

Changelog

Sourced from tomli's changelog.

2.0.2

  • Removed
    • Python 3.7 support
  • Improved
    • Make loads raise TypeError not AttributeError on bad input types that do not have the replace attribute. Improve error message when bytes is received.
  • Type annotations
    • Type annotate load input as typing.IO[bytes] (previously typing.BinaryIO).

2.0.1

  • Improved
    • Make bundling easier by using relative imports internally and adding license and copyright notice to source files.
    • Make error messages more uniform
    • Raise a friendly TypeError for wrong file mode
    • Allow parse_float to return objects having the append attr
    • Eagerly raise an error if parse_float returns an illegal type
  • Packaging
    • Move from pytest testing framework to unittest and remove python-dateutil test dependency. Tests now only require Python interpreter.

1.2.3

  • Fixed
    • Backport: Allow lower case "t" and "z" in datetimes

2.0.0

  • Removed
    • Python 3.6 support
    • Support for text file objects as load input. Use binary file objects instead.
    • First argument of load and loads can no longer be passed by keyword.
  • Fixed
    • Allow lower case "t" and "z" in datetimes
  • Improved
    • Raise an error when dotted keys define values outside the "current table". Technically speaking TOML v1.0.0 does allow such assignments but that isn't intended by specification writers, and will change in a future specification version (see the pull request).

1.2.2

  • Fixed
    • Illegal characters in error messages were surrounded by two pairs of quotation marks
  • Improved
    • TOMLDecodeError.__module__ is now the public import path (tomli) instead of private import path (tomli._parser)
    • Eliminated an import cycle when typing.TYPE_CHECKING is True. This allows sphinx-autodoc-typehints to resolve type annotations.

... (truncated)

Commits
  • 3ec6775 Bump version: 2.0.1 → 2.0.2
  • 1dcd317 Add v2.0.2 changelog
  • c94ee69 Fix GitHub Actions badge
  • 4e245a4 tomli.loads: Raise TypeError not AttributeError. Improve message (#229)
  • facdab0 Update pre-commit. Remove docformatter
  • a613867 Use sys.version_info in compatibility layer (#220)
  • 39eff9b Add support for Python 3.12, drop EOL 3.7 (#224)
  • 0054e60 [pre-commit.ci] pre-commit autoupdate (#208)
  • 1bd3345 Test against Python 3.12-dev
  • 5646e69 Type annotate as IO[bytes], not BinaryIO
  • 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 <dependency name> 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)

@dependabot dependabot bot requested a review from a team as a code owner October 19, 2024 19:21
Updates the requirements on [tomli](https://github.com/hukkin/tomli) to permit the latest version.
- [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md)
- [Commits](hukkin/tomli@2.0.1...2.0.2)

---
updated-dependencies:
- dependency-name: tomli
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/tomli-2.0.2 branch from 7b7a7da to ce8f2a9 Compare October 20, 2024 11:28
@jkowalleck jkowalleck merged commit 369009f into main Oct 20, 2024
42 checks passed
@dependabot dependabot bot deleted the dependabot/pip/tomli-2.0.2 branch October 20, 2024 11:35
saquibsaifee pushed a commit to saquibsaifee/cyclonedx-python-lib that referenced this pull request Oct 27, 2024
…eDX#715)

Updates the requirements on [tomli](https://github.com/hukkin/tomli) to
permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hukkin/tomli/blob/master/CHANGELOG.md">tomli's
changelog</a>.</em></p>
<blockquote>
<h2>2.0.2</h2>
<ul>
<li>Removed
<ul>
<li>Python 3.7 support</li>
</ul>
</li>
<li>Improved
<ul>
<li>Make <code>loads</code> raise <code>TypeError</code> not
<code>AttributeError</code> on bad input types that do not have the
<code>replace</code> attribute.
Improve error message when <code>bytes</code> is received.</li>
</ul>
</li>
<li>Type annotations
<ul>
<li>Type annotate <code>load</code> input as
<code>typing.IO[bytes]</code> (previously
<code>typing.BinaryIO</code>).</li>
</ul>
</li>
</ul>
<h2>2.0.1</h2>
<ul>
<li>Improved
<ul>
<li>Make bundling easier by using relative imports internally and adding
license and copyright notice to source files.</li>
<li>Make error messages more uniform</li>
<li>Raise a friendly <code>TypeError</code> for wrong file mode</li>
<li>Allow <code>parse_float</code> to return objects having the
<code>append</code> attr</li>
<li>Eagerly raise an error if <code>parse_float</code> returns an
illegal type</li>
</ul>
</li>
<li>Packaging
<ul>
<li>Move from <code>pytest</code> testing framework to
<code>unittest</code> and remove <code>python-dateutil</code> test
dependency.
Tests now only require Python interpreter.</li>
</ul>
</li>
</ul>
<h2>1.2.3</h2>
<ul>
<li>Fixed
<ul>
<li>Backport: Allow lower case &quot;t&quot; and &quot;z&quot; in
datetimes</li>
</ul>
</li>
</ul>
<h2>2.0.0</h2>
<ul>
<li>Removed
<ul>
<li>Python 3.6 support</li>
<li>Support for text file objects as <code>load</code> input. Use binary
file objects instead.</li>
<li>First argument of <code>load</code> and <code>loads</code> can no
longer be passed by keyword.</li>
</ul>
</li>
<li>Fixed
<ul>
<li>Allow lower case &quot;t&quot; and &quot;z&quot; in datetimes</li>
</ul>
</li>
<li>Improved
<ul>
<li>Raise an error when dotted keys define values outside the
&quot;current table&quot;.
Technically speaking TOML v1.0.0 does allow such assignments
but that isn't intended by specification writers,
and will change in a future specification version (see the <a
href="https://redirect.github.com/toml-lang/toml/pull/848">pull
request</a>).</li>
</ul>
</li>
</ul>
<h2>1.2.2</h2>
<ul>
<li>Fixed
<ul>
<li>Illegal characters in error messages were surrounded by two pairs of
quotation marks</li>
</ul>
</li>
<li>Improved
<ul>
<li><code>TOMLDecodeError.__module__</code> is now the public import
path (<code>tomli</code>) instead of private import path
(<code>tomli._parser</code>)</li>
<li>Eliminated an import cycle when <code>typing.TYPE_CHECKING</code> is
<code>True</code>.
This allows <code>sphinx-autodoc-typehints</code> to resolve type
annotations.</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hukkin/tomli/commit/3ec6775b118f2ae030d5b12c90939c7f65668e7e"><code>3ec6775</code></a>
Bump version: 2.0.1 → 2.0.2</li>
<li><a
href="https://github.com/hukkin/tomli/commit/1dcd317c62e905655090f3e18f57c93860086904"><code>1dcd317</code></a>
Add v2.0.2 changelog</li>
<li><a
href="https://github.com/hukkin/tomli/commit/c94ee6904bb93b84364be502fe219e849d5f9120"><code>c94ee69</code></a>
Fix GitHub Actions badge</li>
<li><a
href="https://github.com/hukkin/tomli/commit/4e245a4bbbefed99e550e196095ea65c851cf31d"><code>4e245a4</code></a>
<code>tomli.loads</code>: Raise TypeError not AttributeError. Improve
message (<a
href="https://redirect.github.com/hukkin/tomli/issues/229">#229</a>)</li>
<li><a
href="https://github.com/hukkin/tomli/commit/facdab0f5aacc5eb223753c42604d5de7bdaee9d"><code>facdab0</code></a>
Update pre-commit. Remove docformatter</li>
<li><a
href="https://github.com/hukkin/tomli/commit/a6138675bcca68eea5b8abec7c2ec06d57f965a0"><code>a613867</code></a>
Use sys.version_info in compatibility layer (<a
href="https://redirect.github.com/hukkin/tomli/issues/220">#220</a>)</li>
<li><a
href="https://github.com/hukkin/tomli/commit/39eff9b9cbdad9f0dab96b84f7b518f2b87e1866"><code>39eff9b</code></a>
Add support for Python 3.12, drop EOL 3.7 (<a
href="https://redirect.github.com/hukkin/tomli/issues/224">#224</a>)</li>
<li><a
href="https://github.com/hukkin/tomli/commit/0054e60840060499c67c6c4115d5d60abaa51ca2"><code>0054e60</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/hukkin/tomli/issues/208">#208</a>)</li>
<li><a
href="https://github.com/hukkin/tomli/commit/1bd3345f97cba795d7e6075956815c0a52151ed0"><code>1bd3345</code></a>
Test against Python 3.12-dev</li>
<li><a
href="https://github.com/hukkin/tomli/commit/5646e6923d895725aad7ecfa32be19861812d1fc"><code>5646e69</code></a>
Type annotate as <code>IO[bytes]</code>, not <code>BinaryIO</code></li>
<li>Additional commits viewable in <a
href="https://github.com/hukkin/tomli/compare/2.0.1...2.0.2">compare
view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Saquib Saifee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants