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

chore: Update pyproject.toml to be compatible with Poetry 2.x #170

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
linting:
uses: broadinstitute/shared-workflows/.github/workflows/python-lint.yaml@v2.5.0
with:
ruff_version: '0.8.6'
use_pylama: false
use_ruff: true
unit-tests:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
- -b main
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.6
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
39 changes: 35 additions & 4 deletions poetry.lock

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

18 changes: 10 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pysudoers"
version = "2.2.0"
[project]
authors = [
{ name = "Andrew Teixeira", email = "<teixeira@broadinstitute.org>"}
]
description = "Python interface to the Linux sudoers file"
dynamic = [ "dependencies" ]
homepage = "https://github.com/broadinstitute/python-sudoers.git"
keywords = ["linux", "sudoers"]
license = "BSD-3-Clause"
authors = ["Andrew Teixeira <teixeira@broadinstitute.org>"]
name = "pysudoers"
readme = "README.md"
repository = "https://github.com/broadinstitute/python-sudoers.git"
homepage = "https://github.com/broadinstitute/python-sudoers.git"
keywords = ["linux", "sudoers"]
requires-python = ">=3.9,<4.0.0"
version = "2.2.0"

[tool.poetry.dependencies]
python = "^3.9" # Compatible python versions must be declared here

toml = "^0.10.2"

[tool.poetry.group.dev.dependencies]
Expand Down
Loading