Skip to content

Commit

Permalink
chore: adapt poetry 2.0 (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzing authored Jan 6, 2025
1 parent e9ad862 commit c073876
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 207 deletions.
13 changes: 13 additions & 0 deletions docs/advanced/poetry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ If you need optional dependencies, such as YAML support, you can install them wi
Read :doc:`../introduction` for more details on optional dependencies.


Enabling as a project plugin
----------------------------

Starting from Poetry 2.0, you can enable plugins on a per-project basis.

To enable secrets.env as a project plugin, add the following to your ``pyproject.toml``:

.. code-block:: toml
[tool.poetry.requires-plugins]
secrets-env = ">1.0"
Usage
-----

Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
---------

Unreleased
==========

Enhancements
++++++++++++

* Support Poetry 2.0.

1.0.5
=====

Expand Down
Loading

0 comments on commit c073876

Please sign in to comment.