Skip to content

Commit

Permalink
Don't use group syntax in pyproject.toml file.
Browse files Browse the repository at this point in the history
This syntax is supported by poetry-core starting from version 1.1.0,
but Fedora 37 still has 1.0.8, and RHEL 9 still has 1.0.7.

This change partially reverts d5324ee by removing some entries
related to development documentation. We don't build it anyway.

This change also reverts 5bf9ec9 because we don't need poetry-core
version >= 1.1.0.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
  • Loading branch information
Oleg Girko committed Dec 12, 2023
1 parent 80d47fb commit 6cd34da
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -361,25 +361,14 @@ towncrier = ">=18.6.0rc1"
tomli = ">=1.2.3"


# Dependencies for building the development documentation
[tool.poetry.group.dev-docs]
optional = true

[tool.poetry.group.dev-docs.dependencies]
sphinx = {version = "^6.1", python = "^3.8"}
sphinx-autodoc2 = {version = ">=0.4.2,<0.6.0", python = "^3.8"}
myst-parser = {version = "^1.0.0", python = "^3.8"}
furo = ">=2022.12.7,<2024.0.0"


[build-system]
# The upper bounds here are defensive, intended to prevent situations like
# https://github.com/matrix-org/synapse/issues/13849 and
# https://github.com/matrix-org/synapse/issues/14079 where we see buildtime or
# runtime errors caused by build system changes.
# We are happy to raise these upper bounds upon request,
# provided we check that it's safe to do so (i.e. that CI passes).
requires = ["poetry-core>=1.1.0,<=1.8.1", "setuptools_rust>=1.3,<=1.8.1"]
requires = ["poetry-core>=1.0.0,<=1.8.1", "setuptools_rust>=1.3,<=1.8.1"]
build-backend = "poetry.core.masonry.api"


Expand Down

0 comments on commit 6cd34da

Please sign in to comment.