Skip to content
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

chore: require python 3.11 #92

Merged
merged 1 commit into from
Feb 17, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Install Poetry
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Install Poetry
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Install Poetry
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Install Poetry
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.11"
jobs:
post_checkout:
- git fetch --unshallow || true
Expand Down
6 changes: 3 additions & 3 deletions docs/build-release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Prerequisites
-------------

* `Git`_ version control system.
* `Python`_ >=3.9, and python-venv.
* `Python`_ >=3.11, and python-venv.
* `Poetry`_ for Python dependency management.
* `Mayo 3D CAD viewer and converter`_ for exporting PNG images.
* Optional:
Expand All @@ -52,7 +52,7 @@ Install prerequisites

.. code:: none

sudo apt-get install git python3.9 python3.9-venv imagemagick optipng exiftool
sudo apt-get install git python3.11 python3.11-venv imagemagick optipng exiftool

Poetry, Mayo, and git-lfs should be installed according to their respective documentation,
and be available in your path.
Expand All @@ -65,7 +65,7 @@ Clone project and install dependencies

git clone https://github.com/sethfischer/rover.git
cd rover
poetry env use python3.9
poetry env use python3.11
poetry install
poetry shell

Expand Down
47 changes: 6 additions & 41 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ classifiers = [
console = "osr_mechanical.console.application:main"

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
python = ">=3.11,<3.12"

cadquery = "2.4.0"
cadquery-ocp = "7.7.0"
Expand Down Expand Up @@ -92,7 +92,7 @@ profile = "black"
multi_line_output = 3

[tool.mypi]
python_version = "3.9"
python_version = "3.11"
strict = true

[[tool.mypy.overrides]]
Expand Down
2 changes: 1 addition & 1 deletion src/osr_warehouse/generic/linear_motion/shf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from osr_warehouse.utilities import TINY_LENGTH


@dataclass
@dataclass(eq=True, frozen=True)
class SHFDimensions:
"""SHF shaft support dimension schema."""

Expand Down
Loading