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

Reintroducing support for Python 3.7 and 3.8 #70

Merged
merged 63 commits into from
Apr 29, 2024
Merged

Reintroducing support for Python 3.7 and 3.8 #70

merged 63 commits into from
Apr 29, 2024

Conversation

hbldh
Copy link
Owner

@hbldh hbldh commented Apr 29, 2024

  • Removing a walrus operator
  • Installing importlib_resources backport for 3.7 and 3.8.
  • Fix for mypy error in tests

Fixes #69

hbldh and others added 30 commits July 8, 2021 11:08
Corrected typo in examples
Fix breakage with urllib 2.0.x
The BankID pages now returns a captcha instead of the actual certificate when fetching with requests. The actual cert is now bundled instead of fetched each time.
Fixes for test certificate download and handling
* Test against Python 3.12

* Install setuptools after testing

* Swap out pkg_resources for importlib

* Downgrade importlib-resources to 5.12.0

* Always use compat package

* Read required packages in setup.py from requirements.txt

* Drop unused six and update docs

* Async client

* Tidy up async wrapper

* Install requirements-dev.txt on CI

* Add two more packages to requirements-dev.txt from CI

* Update bankid/jsonclient.py

Co-authored-by: David Svenson <davidsvenson@outlook.com>

* Update bankid/jsonclient.py

Co-authored-by: David Svenson <davidsvenson@outlook.com>

* Drop unused TypeVar

* Update bankid/jsonclient.py

Co-authored-by: David Svenson <davidsvenson@outlook.com>

---------

Co-authored-by: David Svenson <davidsvenson@outlook.com>
Sync and Async clients
Implementing parts of v6 API
Removing all v5 and v5.1 API implementations
Lacking documentation rewrite

Builds on #53, #54, #56, #57, #58
Documentation fixes
Renaming and docstring fixes
Demo app modifications
Version bump
hbldh and others added 26 commits April 12, 2024 15:09
Update README.rst - use pytest instead of py.test
Also, only keep a sync version of the ip_address fixture.

This avoids httpbin flakyness/unrelibility since the ip address fetch
only needs to happen once.
Supporting Python >=3.9 does not require using the backport.

Also, use joinpath() to simplify the retrival of the path+return
pathlib.Path instead of str.
Cache ip addresses in test suite.
Add mypy for type checking
@hbldh hbldh self-assigned this Apr 29, 2024
@hbldh hbldh merged commit 1be8aab into master Apr 29, 2024
12 checks passed
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.

Version 1.1.0 throws importlib.resources has no attribute files
8 participants