Skip to content

Commit

Permalink
Merge pull request #13 from AdrianDsg/adriandsg-upgrade-dependencies
Browse files Browse the repository at this point in the history
upgrade Python and dependencies
  • Loading branch information
opeco17 authored Oct 31, 2023
2 parents 1fa85ea + 2b9d480 commit 2532782
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.8"

- name: Bootstrap poetry
run: curl -sL https://install.python-poetry.org | python - -y
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
include:
- os: Ubuntu
image: ubuntu-latest
Expand All @@ -23,16 +23,16 @@ jobs:
image: macos-11

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Get full python version
id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
run: echo "version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")" >> $GITHUB_OUTPUT

- name: Bootstrap poetry
run: curl -sL https://install.python-poetry.org | python - -y
Expand All @@ -49,7 +49,7 @@ jobs:
run: poetry config virtualenvs.in-project true

- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: .venv
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ classifiers = [
keywords = ["poetry", "vulnerabilities", "security", "audit"]

[tool.poetry.dependencies]
python = "^3.7"
poetry = "^1.2.0"
safety = "^2.2.0"
python = "^3.8"
poetry = "^1.6.1"
safety = "^2.3.5"

[tool.poetry.group.dev.dependencies]
pytest = "^6.2"
pytest = "^6.2.5"
mypy = "^0.942"
black = "^22.3.0"
isort = "^5.10.0"
black = "^22.12.0"
isort = "^5.12.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 2532782

Please sign in to comment.