Skip to content

Commit

Permalink
feat: move to py3.9 on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyersturnbull committed May 30, 2021
1 parent 3655919 commit 3fd436f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 25 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ repos:
hooks:
- id: prettier
stages: [commit]
exclude: ^recipes/.*
rev: v2.2.1
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build:
environment:
python: 3.9.1
python: 3.9.5
nodes:
my-tests:
dependencies:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ FROM python:3.9

# See https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL name="tyrannosaurus"
LABEL version="0.9.7"
LABEL version="0.10.2"
LABEL vendor="dmyersturnbull"
LABEL org.opencontainers.image.title="tyrannosaurus"
LABEL org.opencontainers.image.version="0.9.7"
LABEL org.opencontainers.image.version="0.10.2"
LABEL org.opencontainers.image.url="https://github.com/dmyersturnbull/tyrannosaurus"
LABEL org.opencontainers.image.documentation="https://github.com/dmyersturnbull/tyrannosaurus"

Expand All @@ -32,7 +32,7 @@ ENV PYTHONHASHSEED=random
ENV PIP_NO_CACHE_DIR=off
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
ENV PIP_DEFAULT_TIMEOUT=120
ENV POETRY_VERSION=1.1.4
ENV POETRY_VERSION=1.1.6

# Install system deps
RUN pip install "poetry==$POETRY_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dependencies:
- tomlkit>=0.7,<1
- typer>=0.3,<1
- requests>=2.24,<3
- grayskull>=0.8.4,<1
- grayskull>=0.8.5,<1
20 changes: 6 additions & 14 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "tyrannosaurus"
version = "0.10.1"
version = "0.10.2"
description = "Generate beautifully modern Python projects with seamless, GitHub-based CI/CD and loads of integrations."
authors = ["Douglas Myers-Turnbull"]
maintainers = ["Douglas Myers-Turnbull"]
Expand Down
7 changes: 3 additions & 4 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ version: 2
sphinx:
configuration: docs/conf.py
build:
image: latest
image: testing
python:
version: 3.8
version: 3.9
install:
-
requirements: docs/requirements.txt
- requirements: docs/requirements.txt
# Using this requirements.txt is currently unavoidable
# This is because pip does not understand poetry's dev-dependencies
# To get pip to install the dependencies from pyproject.toml here,
Expand Down
2 changes: 1 addition & 1 deletion recipes/tyrannosaurus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requirements:
- poetry >=1.1,<2
- python >=3.8,<4
run:
- grayskull >=0.8.4,<1
- grayskull >=0.8.5,<1
- python >=3.8,<4
- requests >=2.24,<3
- tomlkit >=0.7,<1
Expand Down

0 comments on commit 3fd436f

Please sign in to comment.