Skip to content

Commit 238a97a

Browse files
authored
#149 Merge pull request from astropenguin/astropenguin/issue104
Add support of Python 3.10
2 parents 256fc87 + d0ebe48 commit 238a97a

File tree

6 files changed

+345
-169
lines changed

6 files changed

+345
-169
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM python:3.9-slim
1+
FROM python:3.10-slim
22

3+
ENV PATH=$PATH:/root/.local/bin
34
ENV POETRY_VIRTUALENVS_CREATE=false
45

56
RUN apt-get update \
6-
&& apt-get install -y git \
7+
&& apt-get install -y curl git \
78
&& apt-get clean \
89
&& rm -rf /var/lib/apt/lists/* \
9-
&& pip install --no-cache-dir poetry
10+
&& curl -sSL https://install.python-poetry.org | python -

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v2
1717
with:
18-
python-version: "3.9"
18+
python-version: "3.10"
1919
- name: Install project dependencies
2020
run: pip install poetry && poetry install
2121
- name: Build docs

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v2
1717
with:
18-
python-version: "3.9"
18+
python-version: "3.10"
1919
- name: Publish package to PyPI
2020
run: pip install poetry && poetry publish --build

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
POETRY_VIRTUALENVS_CREATE: false
1717
strategy:
1818
matrix:
19-
python: ["3.7", "3.8", "3.9"]
19+
python: ["3.7", "3.8", "3.9", "3.10"]
2020
steps:
2121
- uses: actions/checkout@v2
2222
- uses: actions/setup-python@v2

0 commit comments

Comments
 (0)