<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/tests/keys, branch version-2.0.1</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Prefer ModuleNotFoundError over ImportError (#565)</title>
<updated>2020-12-21T16:05:53+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-21T16:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=541dd0dd8cafacc0aff9fa36cf04251c535f69eb'/>
<id>541dd0dd8cafacc0aff9fa36cf04251c535f69eb</id>
<content type='text'>
ModuleNotFoundError was introduced in Python 3. It is raised when the
module does not exist. On the other hand, ImportError is raised during
any import failure. For example, a syntax error or other runtime error.

Using ModuleNotFoundError means that errors unrelated to a missing
package will be propagated to the user. PyJWT doesn't know how to handle
these.

This also allows more functions to always be available for import</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ModuleNotFoundError was introduced in Python 3. It is raised when the
module does not exist. On the other hand, ImportError is raised during
any import failure. For example, a syntax error or other runtime error.

Using ModuleNotFoundError means that errors unrelated to a missing
package will be propagated to the user. PyJWT doesn't know how to handle
these.

This also allows more functions to always be available for import</pre>
</div>
</content>
</entry>
<entry>
<title>Add utility functions to assist test skipping (#563)</title>
<updated>2020-12-19T23:40:27+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-19T23:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=9acab9cad0ee536f41aca39f5d4cf09680bf1ffb'/>
<id>9acab9cad0ee536f41aca39f5d4cf09680bf1ffb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace int_from_bytes() with builtin int.from_bytes() (#549)</title>
<updated>2020-12-18T00:26:33+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-18T00:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=bf39b44f60a94a456b03f4e312f26cc7d82630f5'/>
<id>bf39b44f60a94a456b03f4e312f26cc7d82630f5</id>
<content type='text'>
Follows upstream cryptography commit:
https://github.com/pyca/cryptography/commit/5528a3182fdd6ed1c44c126d451a87bcf39e79de

Since Python 3.2, this bytes to an int is a native feature.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follows upstream cryptography commit:
https://github.com/pyca/cryptography/commit/5528a3182fdd6ed1c44c126d451a87bcf39e79de

Since Python 3.2, this bytes to an int is a native feature.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary force_bytes() calls priot to base64url_decode() (#543)</title>
<updated>2020-12-16T22:24:28+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T22:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=529647ab8cfc4e05776ebd5d146db9a1f9af6ebf'/>
<id>529647ab8cfc4e05776ebd5d146db9a1f9af6ebf</id>
<content type='text'>
The first line of base64url_decode() is:

    if isinstance(input, str):
        input = input.encode("ascii")

It therefore accepts either str or bytes. Don't bother coercing to bytes
at the call site.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first line of base64url_decode() is:

    if isinstance(input, str):
        input = input.encode("ascii")

It therefore accepts either str or bytes. Don't bother coercing to bytes
at the call site.</pre>
</div>
</content>
</entry>
<entry>
<title>Run pyupgrade to simplify code and use Python 3.6 syntax (#536)</title>
<updated>2020-12-16T22:20:03+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T22:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=9324d6f007bbd0a48edafe1889d0af7eb0064103'/>
<id>9324d6f007bbd0a48edafe1889d0af7eb0064103</id>
<content type='text'>
pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

- Use short Python3 super() syntax.
- Use f-strings when they are simple and more readable.
- Drop Python 2 u prefix from strings.
- Drop "r" argument from open(). It is the default and so specifying it is
  unnecessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

- Use short Python3 super() syntax.
- Use f-strings when they are simple and more readable.
- Drop Python 2 u prefix from strings.
- Drop "r" argument from open(). It is the default and so specifying it is
  unnecessary.</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to isort 5 and adjust configurations (#533)</title>
<updated>2020-12-16T16:31:50+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T16:31:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=69cd38171971004eb8fd86ba7fa1662c20f409f5'/>
<id>69cd38171971004eb8fd86ba7fa1662c20f409f5</id>
<content type='text'>
With isort 5, asottile/seed-isort-config is deprecated and unnecessary.

The official isort main repo now has a pre-commit hook file.

isort is now better at recognizing first party and third party packages.

isort can now handle imports inside blocks, files have been updated.

isort now supports "profiles" for simpler configuration.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With isort 5, asottile/seed-isort-config is deprecated and unnecessary.

The official isort main repo now has a pre-commit hook file.

isort is now better at recognizing first party and third party packages.

isort can now handle imports inside blocks, files have been updated.

isort now supports "profiles" for simpler configuration.</pre>
</div>
</content>
</entry>
<entry>
<title>Removed redundant `default_backend()` (#523)</title>
<updated>2020-10-12T05:53:29+00:00</updated>
<author>
<name>Kaushal Rohit</name>
<email>rohit.kg98@gmail.com</email>
</author>
<published>2020-10-12T05:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=93bba73b04df777c136386579b5e213cd31edaac'/>
<id>93bba73b04df777c136386579b5e213cd31edaac</id>
<content type='text'>
- Cryptography now has default_backend by default</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Cryptography now has default_backend by default</pre>
</div>
</content>
</entry>
<entry>
<title>Implementation of ECAlgorithm.from_jwk (#500)</title>
<updated>2020-08-24T16:21:54+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2020-08-24T16:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=66e39be5349f4671b9f6cca8974691070406fa92'/>
<id>66e39be5349f4671b9f6cca8974691070406fa92</id>
<content type='text'>
* ECAlgorithm.to_jwk

* Fix failing linting

Co-authored-by: Evert Lammerts &lt;evert@lucipher.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ECAlgorithm.to_jwk

* Fix failing linting

Co-authored-by: Evert Lammerts &lt;evert@lucipher.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Drop deprecation warnings (#515)</title>
<updated>2020-08-24T16:00:06+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2020-08-24T16:00:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=f690976596bb74221f5a81fc9afffd5609bc4e70'/>
<id>f690976596bb74221f5a81fc9afffd5609bc4e70</id>
<content type='text'>
* Drop deprecation warnings

* Add missing keys

* Remove commented exceptions

* Undo lambda change

* Remove unused keys</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop deprecation warnings

* Add missing keys

* Remove commented exceptions

* Undo lambda change

* Remove unused keys</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `tox -e lint` warnings and errors (#490)</title>
<updated>2020-06-08T23:14:22+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-06-08T23:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=e6f7c09331101d319396333fed5bb65f4ef7d2d8'/>
<id>e6f7c09331101d319396333fed5bb65f4ef7d2d8</id>
<content type='text'>
Now successfully passes when running `tox -e lint`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now successfully passes when running `tox -e lint`.</pre>
</div>
</content>
</entry>
</feed>
