Skip to content

Commit

Permalink
Requires Python 3.10+ (due to the way we're doing typing).
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Jun 19, 2024
1 parent d80865f commit 816a097
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,6 @@ jobs:
python -m pip install --upgrade pip wheel
pip install -e .[test]
- name: Type check with mypy
if: ${{ matrix.python-version != 3.9 }}
run: |
mypy
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Australasian Computing Education Conference (ACE '24). DOI:
Install
-------

Requires Python 3.9 or higher.
Requires Python 3.10 or higher.

1. Create and activate a Python virtual environment.
(E.g., `python3 -m venv venv; source venv/bin/activate`)
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
{ name='Mark Liffiton', email='[email protected]' }
]
readme = 'README.md'
requires-python = '>=3.9'
requires-python = '>=3.10'

classifiers = [
"Development Status :: 4 - Beta",
Expand Down Expand Up @@ -54,16 +54,13 @@ log_level = 'DEBUG'
testpaths = 'tests'
addopts = [
"--import-mode=importlib",
"-n8",
"-n 8",
]
markers = [
"use_real_openai: marks any test that sends requests to the real OpenAI endpoint",
]


[tool.ruff]
target-version = "py310" # let ruff operate w/ 3.10+ assumptions (mostly for type annotation changes in 3.10)

[tool.ruff.lint]
select = ["ALL"]
ignore = [
Expand Down

0 comments on commit 816a097

Please sign in to comment.