Skip to content

Commit

Permalink
build: Add support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
chyroc committed Sep 26, 2024
1 parent 62f5e83 commit a8582d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]
os-label: ["Ubuntu"]
python-version: [ "3.7","3.8", "3.9", "3.10", "3.11", "3.12" ]
os: [ "ubuntu-latest" ]
os-label: [ "Ubuntu" ]
include:
- {python-version: "3.8", os: "windows-latest", os-label: "Windows"}
- {python-version: "3.8", os: "macos-latest", os-label: "macOS"}
- { python-version: "3.8", os: "windows-latest", os-label: "Windows" }
- { python-version: "3.8", os: "macos-latest", os-label: "macOS" }
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
name: "Test success"
if: always()
runs-on: ubuntu-latest
needs: [test]
needs: [ test ]
steps:
- name: "Success"
if: needs.test.result == 'success'
Expand Down
15 changes: 1 addition & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["chyroc <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.7"
pydantic = "^2.9.2"
authlib = "^1.3.2"
httpx = "^0.27.2"
Expand All @@ -17,19 +17,6 @@ tox = "^4.20.0"
ruff = "^0.6.7"
pre-commit = "^3.5.0"

[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# The following are specific to Black, you probably don't want those.
\.git
| .venv
| dist
)
'''

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit a8582d3

Please sign in to comment.