Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
fail-fast: false
matrix:
include:
- {name: Style, python: '3.12', tox: style}
- {name: Style, python: '3.13', tox: style}
- {name: '3.13', python: '3.13', tox: py313}
- {name: '3.12', python: '3.12', tox: py312}
- {name: '3.11', python: '3.11', tox: py311}
- {name: '3.10', python: '3.10', tox: py310}
- {name: '3.9', python: '3.9', tox: py39}
- {name: '3.8', python: '3.8', tox: py38}

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Version 0.6
-----------

- Drop support for Python 3.8 (3.8 is EOL since Oct 2024)
- Remove upper version pins of dependencies

Version 0.5.6
-------------

Expand Down
3 changes: 1 addition & 2 deletions flask_multipass/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ def resolve_provider_type(base, type_, registry=None):
if not entry_points:
raise ValueError('Unknown type: ' + type_)
elif len(entry_points) != 1:
# TODO: remove the getattr check after dropping python 3.8
defs = ', '.join(getattr(ep, 'module', ep.value) for ep in entry_points)
defs = ', '.join(ep.module for ep in entry_points)
raise RuntimeError(f'Type {type_} is not unique. Defined in {defs}')
entry_point = list(entry_points)[0]
cls = entry_point.load()
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = 'Flask-Multipass'
version = '0.5.6'
version = '0.6'
description = 'A pluggable solution for multi-backend authentication with Flask'
readme = 'README.rst'
license = 'BSD-3-Clause'
Expand All @@ -9,20 +9,20 @@ classifiers = [
'Environment :: Web Environment',
'Framework :: Flask',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
requires-python = '~=3.8'
requires-python = '~=3.9'
dependencies = ['flask', 'blinker']

[project.optional-dependencies]
dev = ['pytest', 'pytest-cov', 'pytest-mock']
authlib = ['authlib>=0.14.1', 'requests']
ldap = ['flask-wtf', 'python-ldap>=3.3.1,<4.0']
saml = ['python3-saml>=1.10.1,<1.11']
ldap = ['flask-wtf', 'python-ldap>=3.3.1']
saml = ['python3-saml>=1.10.1']
sqlalchemy = ['sqlalchemy', 'flask-wtf']

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311,312}
py{39,310,311,312,313}
style
skip_missing_interpreters = true

Expand Down