-
Notifications
You must be signed in to change notification settings - Fork 5
Add pyproject.toml, add Python 3.14 support #577
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
Open
byewokko
wants to merge
11
commits into
main
Choose a base branch
from
feature/pyproject-toml
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1eb0fc3
Add pyproject.toml
byewokko f647296
Use pyproject.toml in github CI
byewokko 8789c38
Update ignore files for pyproject.toml usage
byewokko df1dd84
Remove editable flag
byewokko 35cd26c
Increase minimal python version
byewokko 725fe36
Remove redundant packages from lint and test
byewokko 96b161a
Merge branch 'main' into feature/pyproject-toml
byewokko 66f2e0b
Fix: CI test stage dependencies
byewokko f0beb8a
Feature: Update to alpine 3.24 and python 3.14
byewokko 52e7195
Fix: Use pip for prod build, use poetry for CI
byewokko fe1d353
Chore: Update CHANGELOG.md
byewokko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,22 @@ | ||
| doc | ||
| example | ||
| .github | ||
|
|
||
| # Python build artifacts | ||
| build/ | ||
| dist/ | ||
| *.egg-info/ | ||
| .eggs/ | ||
| *.egg | ||
|
|
||
| # pip cache | ||
| .cache/ | ||
|
|
||
| # Virtual environments | ||
| .venv/ | ||
| venv/ | ||
|
|
||
| # Development artifacts | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *$py.class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| [build-system] | ||
| requires = ["setuptools>=61.0", "wheel"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "seacat-auth" | ||
| # VERSION: Extracted from CHANGELOG.md (latest: v26.15) | ||
| # Update this to match your current release version | ||
| version = "26.15.0" | ||
| description = "SeaCat Auth is a microservice that provides authentication, authorization, identity management, session management and other access control features." | ||
| readme = "README.md" | ||
| license = {text = "GPL-3.0-or-later"} | ||
| authors = [ | ||
| {name = "TeskaLabs Ltd", email = "support@teskalabs.com"} | ||
| ] | ||
| maintainers = [ | ||
| {name = "TeskaLabs Ltd", email = "support@teskalabs.com"} | ||
| ] | ||
| keywords = [ | ||
| "authentication", | ||
| "authorization", | ||
| "identity", | ||
| "session-management", | ||
| "openid-connect", | ||
| "oauth2", | ||
| "rbac", | ||
| "microservice", | ||
| "access-control", | ||
| "webauthn", | ||
| "2fa", | ||
| "mfa", | ||
| ] | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Intended Audience :: Developers", | ||
| "Intended Audience :: System Administrators", | ||
| "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
| "Operating System :: OS Independent", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Topic :: Security", | ||
| "Topic :: Security :: Cryptography", | ||
| "Topic :: System :: Systems Administration :: Authentication/Directory", | ||
| "Topic :: Internet :: WWW/HTTP :: HTTP Servers", | ||
| ] | ||
| requires-python = ">=3.12" | ||
|
|
||
| # Dependencies extracted from Dockerfile (line 34-52) | ||
| dependencies = [ | ||
| "aiohttp", | ||
| "aiosmtplib", | ||
| "motor", | ||
| "cryptography", | ||
| "jwcrypto>=0.9.1", | ||
| "fastjsonschema", | ||
| "bcrypt", | ||
| "argon2_cffi", | ||
| "python-ldap", | ||
| "aiomysql", | ||
| "jinja2", | ||
| "pyotp", | ||
| "webauthn", | ||
| "pyyaml", | ||
| "pysaml2", | ||
| "pymongo", | ||
| "sentry-sdk", | ||
| # ASAB framework with encryption extras - installed from git (Dockerfile line 52) | ||
| "asab[encryption] @ git+https://github.com/TeskaLabs/asab.git", | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| ] | ||
|
|
||
| [project.optional-dependencies] | ||
| # Development dependencies - not specified in Dockerfile, add as needed | ||
| dev = [ | ||
| "pytest", | ||
| "pytest-asyncio", | ||
| "flake8", | ||
| ] | ||
|
|
||
| # Minimal test dependencies for CI - subset needed to run unit tests | ||
| # This keeps CI fast by not installing all runtime dependencies | ||
| test = [ | ||
| "bson", | ||
| "pymongo", | ||
| "bcrypt", | ||
| "argon2-cffi", | ||
| "jwcrypto>=0.9.1", | ||
| "asab[encryption] @ git+https://github.com/TeskaLabs/asab.git", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| "Homepage" = "https://github.com/TeskaLabs/seacat-auth" | ||
| "Documentation" = "https://docs.teskalabs.com/seacat-auth" | ||
| "Docker Image" = "https://hub.docker.com/r/teskalabs/seacat-auth" | ||
| "Changelog" = "https://github.com/TeskaLabs/seacat-auth/blob/main/CHANGELOG.md" | ||
| "Bug Tracker" = "https://github.com/TeskaLabs/seacat-auth/issues" | ||
|
|
||
| [tool.setuptools] | ||
| packages = ["seacatauth"] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| # Include message templates and other static files | ||
| seacatauth = [ | ||
| "../etc/message_templates/**/*", | ||
| "../CHANGELOG.md", | ||
| ] | ||
|
|
||
| [tool.flake8] | ||
| # From setup.cfg - flake8 configuration | ||
| ignore = ["W191", "W503", "E117", "E501", "E303", "E301"] | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.