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

feat: Bump Python lowest version to 3.9 #153

Merged
merged 1 commit into from
Oct 4, 2024
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
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[bumpversion]
commit = True
current_version = 2.1.0
current_version = 2.2.0
tag = True
tag_name = {new_version}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ name: 'checks'
jobs:

pre-commit:
uses: broadinstitute/shared-workflows/.github/workflows/pre-commit.yaml@v2.1.1
uses: broadinstitute/shared-workflows/.github/workflows/pre-commit.yaml@v2.2.0
linting:
uses: broadinstitute/shared-workflows/.github/workflows/python-lint.yaml@v2.1.1
uses: broadinstitute/shared-workflows/.github/workflows/python-lint.yaml@v2.2.0
unit-tests:
uses: broadinstitute/shared-workflows/.github/workflows/python-unit-test.yaml@v2.1.1
uses: broadinstitute/shared-workflows/.github/workflows/python-unit-test.yaml@v2.2.0
with:
python_package_name: pysudoers
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ name: 'deploy'

jobs:
pypi_deploy:
uses: broadinstitute/shared-workflows/.github/workflows/python-deploy-to-pypi.yaml@v2.1.1
uses: broadinstitute/shared-workflows/.github/workflows/python-deploy-to-pypi.yaml@v2.2.0
secrets:
pypi_token: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ name: 'test_deploy'

jobs:
pypi_test_deploy:
uses: broadinstitute/shared-workflows/.github/workflows/python-test-deploy-to-pypi.yaml@v2.1.1
uses: broadinstitute/shared-workflows/.github/workflows/python-test-deploy-to-pypi.yaml@v2.2.0
secrets:
pypi_test_token: ${{ secrets.PYPI_TEST_TOKEN }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down Expand Up @@ -32,7 +32,7 @@ repos:
hooks:
- id: pylama
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
rev: v1.35.1
hooks:
- id: yamllint
args:
Expand Down
1,479 changes: 377 additions & 1,102 deletions poetry.lock

Large diffs are not rendered by default.

29 changes: 13 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pysudoers"
version = "2.1.0"
version = "2.2.0"
description = "Python interface to the Linux sudoers file"
license = "BSD-3-Clause"
authors = ["Andrew Teixeira <teixeira@broadinstitute.org>"]
Expand All @@ -14,21 +14,18 @@ homepage = "https://github.com/broadinstitute/python-sudoers.git"
keywords = ["linux", "sudoers"]

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

toml = ">=0.9,<0.11"
toml = "^0.10.2"

[tool.poetry.dev-dependencies]
bump2version = "*"
coverage = ">=4.4.2"
fixtures = "*"
green = ">=2.12.0"
mock = ">=2.0.0"
pydocstyle = "<7"
pylama = "*"
pylint = "*"
testtools = "*"
twine = "*"
unittest2 = ">=1.1.0"
wheel = "*"
yamllint = "*"
bump2version = "^1.0.1"
coverage = "^7.6.1"
green = "^4.0.0"
mock = "^5.1.0"
pydocstyle = "^6.3.0"
pylama = "^8.4.1"
pylint = "^3.3.1"
testtools = "^2.7.2"
unittest2 = "^1.1.0"
yamllint = "^1.35.1"