File tree 3 files changed +5
-21
lines changed
3 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ Features / Changes
14
14
* Add CLI helper ``batch_update_permissions `` that allows registering one or more `Permission ` configuration files
15
15
against a running `Magpie ` instance.
16
16
* Security fix: bump Docker base ``python:3.11-alpine3.19 ``.
17
+ * Update ``authomatic[OpenID]==1.3.0 `` to resolve temporary workarounds
18
+ (relates to `authomatic/authomatic#195 <https://github.com/authomatic/authomatic/issues/195 >`_
19
+ and `authomatic/authomatic#233 <https://github.com/authomatic/authomatic/issues/233 >`_,
20
+ fixes `#583 <https://github.com/Ouranosinc/Magpie/issues/583 >`_).
17
21
18
22
Bug Fixes
19
23
~~~~~~~~~
Original file line number Diff line number Diff line change 7
7
8
8
import sys
9
9
10
- # FIXME: patch workaround for Python 3.12 issue with vendor-specific 'six.moves'
11
- # Inspired from https://github.com/dpkp/kafka-python/issues/2401#issuecomment-1760208950
12
- # Applied here such that anything importing 'magpie' does it first, to avoid patch everywhere importing 'authomatic'.
13
- # Official fix required (see https://github.com/authomatic/authomatic/issues/233).
14
- if sys .version_info >= (3 , 12 , 0 ):
15
- import six
16
- sys .modules ["authomatic.six.moves" ] = six .moves
17
- sys .modules ["authomatic.six.moves.urllib" ] = six .moves .urllib
18
- sys .modules ["authomatic.six.moves.urllib.parse" ] = six .moves .urllib .parse
19
-
20
10
21
11
def includeme (config ):
22
12
# import needs to be here, otherwise ImportError happens during setup.py install (modules not yet installed)
Original file line number Diff line number Diff line change 1
1
-r requirements-sys.txt
2
2
alembic >= 1.10
3
- # TODO: remove when merged
4
- # until fix merged and deployed (https://github.com/authomatic/authomatic/pull/195)
5
- # old variants:
6
- # -e git+https://github.com/fmigneault/authomatic.git@httplib-port#egg=Authomatic
7
- # https://github.com/fmigneault/authomatic/archive/httplib-port.zip#egg=Authomatic-1.0.1
8
- # - new authomatic handles openid install correctly
9
- # - https://github.com/authomatic/authomatic/tree/master includes #195 (http-po#rt)
10
- # via https://github.com/authomatic/authomatic/pull/227
11
- # However, this is not the latest tag https://github.com/authomatic/authomatic/tree/1.2.1 (done before #227).
12
- # - Requires https://github.com/authomatic/authomatic/issues/233 for Python 3.12 (temporary patch in magpie.__init__)
13
- authomatic [OpenID ] @ https://github.com/fmigneault/authomatic/archive/httplib-port.zip
3
+ authomatic [OpenID ]== 1.3.0
14
4
bcrypt >= 3.1.6
15
5
# FIXME: integrate when implemnted by official package (see https://github.com/bbangert/beaker/issues/201)
16
6
beaker @ https://github.com/crim-ca/beaker/archive/0ac88bcd8cca063a571fc385ffbe9bcc8acaa690.zip
You can’t perform that action at this time.
0 commit comments