Brad Warren
1c5e56d9c7
Claim Python 3.11 support and add tests ( #9471 )
...
* set up 3.11 tests
* fixup warnings
* sed -i "s/\( *'Pro.*3\.1\)0\(',\)/\10\2\n\11\2/" */setup.py
* update changelog
2022-11-18 07:55:27 +11:00
Alex Zorin
d5d8739783
bump version to 2.0.0.dev0
2022-10-05 05:17:29 +11:00
Alex Zorin
4fcc0f7c2a
Merge branch 'master' into 2.0-merge-master
2022-10-05 05:15:39 +11:00
Brad Warren
3eac48ba5a
Bump version to 1.32.0
2022-10-04 07:41:45 -07:00
Brad Warren
d0fbde9126
Release 1.31.0
2022-10-04 07:41:44 -07:00
Brad Warren
c42dd567ca
remove source_address arg ( #9418 )
2022-09-27 12:30:05 +10:00
Will Greenberg
614eaf6898
Bump version to 1.31.0
2022-09-07 11:09:12 -07:00
Will Greenberg
667b736879
Release 1.30.0
2022-09-07 11:09:11 -07:00
Will Greenberg
f1f526d63c
Bump version to 1.30.0
2022-07-05 11:16:40 -07:00
Will Greenberg
befa4434ad
Release 1.29.0
2022-07-05 11:16:39 -07:00
alexzorin
49f21bcc9f
deps: bump pyOpenSSL in oldest pinnings ( #9329 )
2022-06-22 16:38:32 -07:00
Will Greenberg
4dd603f786
Bump version to 1.29.0
2022-06-07 12:43:12 -07:00
Will Greenberg
b9f9ebc4fc
Release 1.28.0
2022-06-07 12:43:11 -07:00
Will Greenberg
8d7ced5e12
Bump version to 1.28.0
2022-05-03 11:35:09 -07:00
Will Greenberg
373ff0e6e9
Release 1.27.0
2022-05-03 11:35:08 -07:00
Brad Warren
b9a7d771bc
Bump version to 1.27.0
2022-04-05 10:43:01 -07:00
Brad Warren
5b8cc18456
Release 1.26.0
2022-04-05 10:43:00 -07:00
Erica Portnoy
429bc553a0
Bump version to 1.26.0
2022-03-16 11:17:55 -07:00
Erica Portnoy
44c097fc05
Release 1.25.0
2022-03-16 11:17:54 -07:00
Mads Jensen
2b51661430
Remove cast for jose.fields. ( #9228 )
...
* Remove cast for jose.fields.
https://github.com/certbot/certbot/pull/9073 references this.
* Some of them can't be removed, though.
* Fix josepy type hints of json
* Increase josepy pinning version.
Note that the repin scripts have not been used.
* Run repin scripts.
* Fix constraints
2022-03-12 20:31:54 +11:00
Erica Portnoy
9d312af32a
Bump version to 1.25.0
2022-03-01 12:34:54 -08:00
Erica Portnoy
3d3077e1f1
Release 1.24.0
2022-03-01 12:34:21 -08:00
Brad Warren
c1030c0d40
Drop Python 3.6 support ( #9216 )
...
* Remove deprecation warnings
* update ci
* update setup.py files
* update changelog
* update pinnings
* update requests and friends
* update setuptools pin
* update setuptools pin pt2
* update pytz
* upgrade pyparsing
* upgrade boto deps
* update deps and docs
* update pyproject.toml comment
* remove trailets pin
* remove explicit PYTHON_VERSION
2022-02-28 15:23:30 -08:00
Brad Warren
d73c6f44c5
Bump version to 1.24.0
2022-02-08 07:50:45 -08:00
Brad Warren
719f3ac577
Release 1.23.0
2022-02-08 07:50:44 -08:00
Adrien Ferrand
dac0b2c187
Typed jose fields ( #9073 )
...
* Add generic methods to save some casts, and fix lint
* Update current and oldest pinning
* Fix classes
* Remove some todos thanks to josepy 1.11.0
* Cleanup some useless pylint disable
* Finish complete typing
* Better TypeVar names
* Upgrade pinning and fix some typing errors
* Use protocol
* Fix types in apache
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2022-01-24 15:16:19 -08:00
Erica Portnoy
c02ead0f11
Bump version to 1.23.0
2021-12-07 14:03:51 -08:00
Erica Portnoy
6463a2e22d
Release 1.22.0
2021-12-07 14:03:50 -08:00
Aaron Gable
7d3a344d43
Update py cryptography to >=2.5.0 ( #9110 )
...
* Update py cryptography to >=2.5.0
* Review feedback
2021-11-24 14:46:11 -08:00
Brad Warren
e8265dbf9c
Add Python 3.10 support and tests ( #9077 )
...
Fixes https://github.com/certbot/certbot/issues/9058 .
The changes to the CI config are equivalent to the ones made in https://github.com/certbot/certbot/pull/8460 .
Other than ignoring some warnings raised by botocore, the main additional work that had to be done here was switching away from using `distutils.version.LooseVersion` since the entire `distutils` module was deprecated in Python 3.10. To do that, I took a few different approaches:
* If the version strings being parsed are from Python packages such as Certbot or setuptools, I switched to using [pkg_resources.parse_version](https://setuptools.pypa.io/en/latest/pkg_resources.html#parsing-utilities ) from `setuptools`. This functionality has been available since [setuptools 8.0 from 2014](https://setuptools.pypa.io/en/latest/history.html#id865 ).
* If the version strings being parsed are not from Python packages, I added code equivalent to `distutils.version.LooseVersion` in `certbot.util.parse_loose_version`.
* The code for `CERTBOT_PIP_NO_BINARY` can be completely removed since that variable isn't used or referenced anywhere in this repo.
* add python 3.10 support
* make some version changes
* don't use looseversion in setup.py
* switch to pkg_resources
* deprecate get_strict_version
* fix route53 tests
* remove unused CERTBOT_PIP_NO_BINARY code
* stop using distutils in letstest
* add unit tests
* more changelog entries
2021-11-08 15:55:32 -08:00
Brad Warren
9740f5428e
Bump version to 1.22.0
2021-11-02 14:28:34 -07:00
Brad Warren
200e1f1709
Release 1.21.0
2021-11-02 14:28:33 -07:00
Brad Warren
46beb8af84
Bump version to 1.21.0
2021-10-05 06:53:59 -07:00
Brad Warren
93f61887be
Release 1.20.0
2021-10-05 06:53:57 -07:00
Adrien Ferrand
bd5f4f2d8a
Increase minimum of josepy version to use and update the oldest contraints. ( #9032 )
...
As a follow-up to #9027 , this PR increases the minimum version of `josepy` to use and updates the oldest constraints accordingly.
2021-09-10 16:08:13 -07:00
Brad Warren
b9e4763de3
Bump version to 1.20.0
2021-09-07 10:15:07 -07:00
Brad Warren
5d6abc3234
Release 1.19.0
2021-09-07 10:15:05 -07:00
Brad Warren
058faeadac
Propagate requirement that ACME responses are UTF-8 ( #9001 )
...
I think this fixes https://github.com/certbot/certbot/issues/8968 .
The only other calls with `requests` we make in our code outside of our tests that I could find are:
1. [Here](a8a8a39ff1/certbot/certbot/_internal/eff.py (L91) ) where we assume the response is JSON and I think [requests behavior](db575eeedc/requests/models.py (L891-L896) ) is sane.
2. [Here](a8a8a39ff1/certbot/certbot/ocsp.py (L190) ) where we know the response contains binary data.
I think this is a pretty minor change because we were already assuming the response was UTF-8 in the code here when logging it which I think is a valid assumption because the spec says that [all content should be UTF-8 encoded](https://datatracker.ietf.org/doc/html/rfc8555#section-5 ).
I added the check for the `Accept` header due to the text [here](https://datatracker.ietf.org/doc/html/rfc8555#section-7.4.2 ) saying that it can be used to request the certificate in an alternate format such as DER. We currently set the Accept header in our own ACMEv1 client code before downloading the DER certificate, but this isn't required according to [the closest thing I think we have to an ACMEv1 spec](f1894f8d1d/docs/acme-divergences-v1.md (section-742) ) so I left the content type check with a comment that it can be removed in the future.
* Revert "add chardet dep (#8965 )"
This reverts commit 1129d850d3 .
* set response.encoding in acme
* more docs
2021-08-23 10:57:34 -07:00
Erica Portnoy
8194e8faef
Bump version to 1.19.0
2021-08-03 13:23:45 -07:00
Erica Portnoy
0d76d1f219
Release 1.18.0
2021-08-03 13:23:13 -07:00
Brad Warren
1129d850d3
add chardet dep ( #8965 )
2021-08-03 10:35:00 +10:00
Brad Warren
08839758bd
Finish pinning system rewrite ( #8934 )
...
* add oldest pyproject.toml file that works
* make single oldest_constraints.txt file
* remove unused merge_requirements.py
* remove unused import
* make conditional right
* simplify pip_install.py
* fix typo
* bump min dns-lexicon dependency
* fix zope import warning
* pin back wheel
* refactor pinning script
* Add oldest script.
* add pip comment
* add pipstrap extra
* simplify pinning scripts
* remove pipstrap extra
* update contributing
* Add design doc
* Update tools/pinning/DESIGN.md
Co-authored-by: ohemorange <erica@eff.org>
* Update tools/pinning/DESIGN.md
Co-authored-by: ohemorange <erica@eff.org>
* Update tools/pinning/DESIGN.md
Co-authored-by: ohemorange <erica@eff.org>
* Update tools/pinning/DESIGN.md
Co-authored-by: ohemorange <erica@eff.org>
* rename normal to current
* no dummies
* script improvements
* mention need to update setup.py
* try and clarify poetry behavior
* tweak section title
Co-authored-by: ohemorange <erica@eff.org>
2021-07-22 12:00:30 -07:00
Brad Warren
915459258b
Bump version to 1.18.0
2021-07-06 08:42:52 -07:00
Brad Warren
952a296e20
Release 1.17.0
2021-07-06 08:42:49 -07:00
Brad Warren
18ea72faf1
Split out testing extras ( #8893 )
...
* split out test extras
* update extras and regenerate pinnings
* pin back mypy
2021-06-11 13:17:50 -07:00
Erica Portnoy
814d8d1aba
Bump version to 1.17.0
2021-06-01 10:52:31 -07:00
Erica Portnoy
7e8f22e136
Release 1.16.0
2021-06-01 10:52:23 -07:00
Brad Warren
3640b8546e
remove ancient comment ( #8861 )
2021-05-27 22:05:26 +10:00
Brad Warren
56c781aec4
Bump version to 1.16.0
2021-05-04 11:50:12 -07:00
Brad Warren
67e3c54744
Release 1.15.0
2021-05-04 11:50:10 -07:00