Skip to content

Commit

Permalink
Bump to v0.8.2 with Py3 string encoding quickfix - skipping 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Nov 3, 2020
1 parent 4781a79 commit 9180b73
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GeoHealthCheck/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def load_user_from_request(request):
basic_auth_val = basic_auth_val.replace('Basic ', '', 1)
authenticated = False
try:
username, password = base64.b64decode(basic_auth_val).split(':')
username, password = base64.b64decode(basic_auth_val).split(':'.encode())

user = User.query.filter_by(username=username).first()
if user:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.dev1
0.8.2
17 changes: 14 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,31 @@ the `paver upgrade` command. Also password recovery was changed: a user can crea
a unique, personal URL that GHC sends by email. This requires a working email configuration and a reachable
`SITE_URL` config value. See :ref:`admin_user_mgt` for solving password problems.

See [closed issues for related Milestone 0.6.0](https://github.com/geopython/GeoHealthCheck/milestone/6?closed=1)
See `closed issues for related Milestone 0.6.0 <https://github.com/geopython/GeoHealthCheck/milestone/6?closed=1>`_

Upgrade notes v0.7.0
....................

No database changes. Many fixes and enhancements, see [closed issues for related Milestone 0.7.0](https://github.com/geopython/GeoHealthCheck/milestone/7?closed=1).
No database changes. Many fixes and enhancements, see `closed issues for related Milestone 0.7.0 <https://github.com/geopython/GeoHealthCheck/milestone/7?closed=1>`_.

Upgrade notes v0.8.0
....................

Main change: migrated from Python 2 to Python 3. No DB upgrades required.
One major improvement was more robust (HTTP) retries using the `requests` `Session` object.

See [closed issues for related Milestone 0.8.0](https://github.com/geopython/GeoHealthCheck/milestone/8?closed=1)
See `closed issues for related Milestone 0.8.0 <https://github.com/geopython/GeoHealthCheck/milestone/8?closed=1>`_.

Upgrade notes v0.8.2
....................

Main change: Bugfixes and small new features on 0.8.0 (0.8.1 was skipped). No DB upgrades required.

OWSLib was upgraded to 0.20.0. Some Py2 to Py3 string encoding issues.

One major improvement was adding `User-Agent` HTTP header for Probe requests.

See `closed issues for related Milestone 0.8.2 <https://github.com/geopython/GeoHealthCheck/milestone/9?closed=1>`_.

Running
-------
Expand Down

0 comments on commit 9180b73

Please sign in to comment.