Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradual default attributes breaks default constructors #958

Closed
bartv opened this issue Feb 25, 2019 · 0 comments · Fixed by #961
Closed

Gradual default attributes breaks default constructors #958

bartv opened this issue Feb 25, 2019 · 0 comments · Fixed by #961
Assignees
Labels
bug Something isn't working compiler

Comments

@bartv
Copy link
Contributor

bartv commented Feb 25, 2019

fail.cf:

entity Server:
    string a="a"
    string b
end

typedef Server2 as Server(b="b")

Server2()
$ inmanta -vvv compile -f fail.cf -X
INFO     Creating new virtual environment in ./.env
DEBUG    Starting compile
INFO     verifying project
Traceback (most recent call last):
  File "/home/bart/workspace/inmanta/src/inmanta/app.py", line 471, in app
    options.func(options)
  File "/home/bart/workspace/inmanta/src/inmanta/app.py", line 154, in compile_project
    result = do_compile()
  File "/home/bart/workspace/inmanta/src/inmanta/compiler/__init__.py", line 45, in do_compile
    success = sched.run(compiler, statements, blocks)
  File "/home/bart/workspace/inmanta/src/inmanta/execute/scheduler.py", line 230, in run
    block.context.emit(queue.for_tracker(ModuleTracker(block)))
  File "/home/bart/workspace/inmanta/src/inmanta/execute/runtime.py", line 698, in emit
    self.block.emit(self, queue)
  File "/home/bart/workspace/inmanta/src/inmanta/ast/blocks.py", line 74, in emit
    s.emit(resolver, queue)
  File "/home/bart/workspace/inmanta/src/inmanta/ast/statements/__init__.py", line 91, in emit
    reqs = self.requires_emit(resolver, queue)
  File "/home/bart/workspace/inmanta/src/inmanta/ast/statements/generator.py", line 260, in requires_emit
    default_wrapper_type = {name: expr for name, expr in self.type.get_default_values().items()
AttributeError: 'Default' object has no attribute 'get_default_values'
@bartv bartv added bug Something isn't working compiler labels Feb 25, 2019
wouterdb added a commit that referenced this issue Feb 25, 2019
fixes #958
cleanup of default handling
bartv pushed a commit that referenced this issue Feb 25, 2019
* fixed bug in resolution of defaults
fixes #958 and #959
wouterdb added a commit that referenced this issue Feb 25, 2019
inmantaci pushed a commit that referenced this issue Aug 1, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for issuer validation by <a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a href="https://github.com/jpadilla/pyjwt/issues/949">#949</a> by <a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in `[#910](jpadilla/pyjwt#910) &lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by @mattpollak in `[#913](jpadilla/pyjwt#913) &lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in `[#904](jpadilla/pyjwt#904) &amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `[#923](jpadilla/pyjwt#923) &amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in `[#950](jpadilla/pyjwt#950) &amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in `[#958](jpadilla/pyjwt#958) &amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <code>[#910](jpadilla/pyjwt#910) &amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <code>[#940](jpadilla/pyjwt#940) &amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be compatible with cryptography 42.x.x by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <code>[#952](jpadilla/pyjwt#952) &amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a> Add 2.9.0 changelog. Fixes <a href="https://github.com/jpadilla/pyjwt/issues/949">#949</a> (<a href="https://github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a> Raise exception when required cryptography dependency is missing (<a href="https://github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a> Handle load_pem_public_key ValueError (<a href="https://github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a> Update usage.rst (<a href="https://github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a> Decode with PyJWK (<a href="https://github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a> chore: update actions/download-artifact</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a> Add coverage and improve performance of is_ssh_key (<a href="https://github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>
inmantaci pushed a commit that referenced this issue Aug 1, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for issuer validation by <a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a href="https://github.com/jpadilla/pyjwt/issues/949">#949</a> by <a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a href="https://github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made their first contribution in <a href="https://github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in `[#910](jpadilla/pyjwt#910) &lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by @mattpollak in `[#913](jpadilla/pyjwt#913) &lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in `[#904](jpadilla/pyjwt#904) &amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `[#923](jpadilla/pyjwt#923) &amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in `[#950](jpadilla/pyjwt#950) &amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in `[#958](jpadilla/pyjwt#958) &amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <code>[#910](jpadilla/pyjwt#910) &amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <code>[#940](jpadilla/pyjwt#940) &amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be compatible with cryptography 42.x.x by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <code>[#952](jpadilla/pyjwt#952) &amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a> Add 2.9.0 changelog. Fixes <a href="https://github.com/jpadilla/pyjwt/issues/949">#949</a> (<a href="https://github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a> Raise exception when required cryptography dependency is missing (<a href="https://github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a> Handle load_pem_public_key ValueError (<a href="https://github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a> Update usage.rst (<a href="https://github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a> Decode with PyJWK (<a href="https://github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a> chore: update actions/download-artifact</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a> Add coverage and improve performance of is_ssh_key (<a href="https://github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants