Skip to content

Commit

Permalink
Merge pull request #49 from Colin-b/develop
Browse files Browse the repository at this point in the history
Release 0.14.1
  • Loading branch information
Colin-b authored Feb 5, 2022
2 parents bbc0b4b + a3667f5 commit 2a6d2cb
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: [push]
on: [push, pull_request]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.1.0
hooks:
- id: black
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.14.1] - 2022-02-05
### Fixed
- Type information is now provided following [PEP 561](https://www.python.org/dev/peps/pep-0561/)
- Allow for users to run `mypy --strict`.

## [0.14.0] - 2022-01-26
### Changed
- Requires [`httpx`](https://www.python-httpx.org)==0.22.\*
Expand Down Expand Up @@ -148,7 +153,8 @@ Note that a few changes were made:
### Added
- Placeholder for port of requests_auth to httpx

[Unreleased]: https://github.com/Colin-b/httpx_auth/compare/v0.14.0...HEAD
[Unreleased]: https://github.com/Colin-b/httpx_auth/compare/v0.14.1...HEAD
[0.14.1]: https://github.com/Colin-b/httpx_auth/compare/v0.14.0...v0.14.1
[0.14.0]: https://github.com/Colin-b/httpx_auth/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/Colin-b/httpx_auth/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/Colin-b/httpx_auth/compare/v0.11.0...v0.12.0
Expand Down
29 changes: 29 additions & 0 deletions httpx_auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,32 @@
InvalidGrantRequest,
)
from httpx_auth.version import __version__

__all__ = [
"Basic",
"HeaderApiKey",
"QueryApiKey",
"OAuth2",
"OAuth2AuthorizationCodePKCE",
"OktaAuthorizationCodePKCE",
"OAuth2Implicit",
"OktaImplicit",
"OktaImplicitIdToken",
"AzureActiveDirectoryImplicit",
"AzureActiveDirectoryImplicitIdToken",
"OAuth2AuthorizationCode",
"OktaAuthorizationCode",
"OAuth2ClientCredentials",
"OktaClientCredentials",
"OAuth2ResourceOwnerPasswordCredentials",
"JsonTokenFileCache",
"AWS4Auth",
"GrantNotProvided",
"TimeoutOccurred",
"AuthenticationFailed",
"StateNotProvided",
"InvalidToken",
"TokenExpiryNotProvided",
"InvalidGrantRequest",
"__version__",
]
Empty file added httpx_auth/py.typed
Empty file.
2 changes: 1 addition & 1 deletion httpx_auth/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Major should be incremented in case there is a breaking change. (eg: 2.5.8 -> 3.0.0)
# Minor should be incremented in case there is an enhancement. (eg: 2.5.8 -> 2.6.0)
# Patch should be incremented in case there is a bug fix. (eg: 2.5.8 -> 2.5.9)
__version__ = "0.14.0"
__version__ = "0.14.1"
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
Expand All @@ -33,6 +34,7 @@
"Topic :: Software Development :: Build Tools",
],
keywords=["authentication", "oauth2", "aws", "okta", "aad"],
package_data={"httpx_auth": ["py.typed"]},
packages=find_packages(exclude=["tests*"]),
install_requires=[
# Used for Base Authentication and to communicate with OAuth2 servers
Expand All @@ -43,7 +45,7 @@
# Used to generate test tokens
"pyjwt==2.*",
# Used to mock httpx
"pytest_httpx==0.19.*",
"pytest_httpx==0.20.*",
# Used to check coverage
"pytest-cov==3.*",
]
Expand Down

0 comments on commit 2a6d2cb

Please sign in to comment.