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

Migrate to Poetry #314

Merged
merged 11 commits into from
Dec 19, 2023
4 changes: 3 additions & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ changelog:
- title: API Changes
labels:
- API
- title: Changes to or addition of Effects
labels:
- effects
- title: New Features or Improvements
labels:
- enhancement
Expand All @@ -18,4 +21,3 @@ changelog:
- title: Other Changes
labels:
- "*"

27 changes: 0 additions & 27 deletions .github/workflows/minimumdependencies.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ on:
branches:
- master
- dev_master
- dev_spectroscopy
pull_request:
branches:
- master
- dev_master
- dev_spectroscopy
schedule:
- # Run every day at 5:00 UTC
- cron: "0 5 * * *"
Expand All @@ -20,4 +18,6 @@ on:

jobs:
call-tests:
uses: AstarVienna/DevOps/.github/workflows/tests.yml@master
name: Call tests
uses: AstarVienna/DevOps/.github/workflows/tests.yml@poetry
secrets: inherit
22 changes: 13 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@
version: 2

build:
os: ubuntu-20.04
os: "ubuntu-22.04"
tools:
python: "3.9"
python: "3.11"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs

sphinx:
configuration: docs/source/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats: [] # ignore htmlzip. html is always run
Loading
Loading