Skip to content

Migrate to Poetry 2.0 #720

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

Merged
merged 4 commits into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 2 additions & 2 deletions .github/workflows/controller_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Install dependencies
working-directory: ./oidc-controller
run: |
pip3 install --no-cache-dir poetry==1.8.3
poetry install
pip3 install --no-cache-dir poetry==2.0.0
poetry install --no-root
- name: Lint with black
working-directory: ./oidc-controller
run: |
Expand Down
4 changes: 2 additions & 2 deletions docker/oidc-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ FROM python:3.12 AS main
WORKDIR /app

ENV POETRY_VIRTUALENVS_CREATE=false
RUN pip3 install --no-cache-dir poetry==1.8.3
RUN pip3 install --no-cache-dir poetry==2.0

COPY pyproject.toml poetry.lock README.md ./
RUN poetry install --only main
RUN poetry install --no-root --only main

COPY ./oidc-controller .

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tool.poetry]
[project]
name = "acapy-vc-authn-oidc"
version = "0.2.2"
description = "Verifiable Credential Identity Provider for OpenID Connect."
authors = ["Government of British Columbia <[[email protected]](mailto:[email protected])>"]
authors = [ { name = "Government of British Columbia", email = "[email protected]" } ]
license = "Apache-2.0"
readme = "README.md"
classifiers = [
Expand Down Expand Up @@ -45,5 +45,5 @@ asyncio_default_fixture_loop_scope = "function"
pythonVersion = "3.12"

[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"