build(deps): update dependencies, desired python to 3.12
This commit is contained in:
parent
31946b6a9c
commit
ca83820795
7 changed files with 40 additions and 61 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python: [3.7, 3.8, 3.9]
|
||||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
needs: setup
|
||||
strategy:
|
||||
matrix:
|
||||
python: [3.7, 3.8, 3.9]
|
||||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -77,7 +77,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: "3.12"
|
||||
- uses: actions/cache@v2
|
||||
id: dep-cache
|
||||
with:
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: "3.12"
|
||||
- uses: actions/cache@v2
|
||||
id: dep-cache
|
||||
with:
|
||||
|
@ -107,8 +107,8 @@ jobs:
|
|||
./slack-status-cli.venv
|
||||
- name: Setup dependencies
|
||||
run: |
|
||||
. script/bootstrap
|
||||
- name: Lint and format
|
||||
. script/bootstrap.sh
|
||||
- name: Build
|
||||
run: |
|
||||
python -m build
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=consider-using-f-string,
|
||||
broad-except,
|
||||
disable=broad-except,
|
||||
broad-exception-raised,
|
||||
consider-using-f-string,
|
||||
consider-using-with,
|
||||
invalid-name,
|
||||
missing-module-docstring,
|
||||
missing-function-docstring,
|
||||
consider-using-with
|
||||
missing-module-docstring,
|
||||
|
|
|
@ -1 +1 @@
|
|||
3.9.6
|
||||
3.12
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
# This file is autogenerated by pip-compile with Python 3.12
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile ./requirements.in
|
||||
#
|
||||
|
|
|
@ -1,80 +1,56 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
# This file is autogenerated by pip-compile with Python 3.12
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile ./requirements_dev.in
|
||||
#
|
||||
astroid==2.12.12
|
||||
astroid==3.0.3
|
||||
# via pylint
|
||||
attrs==22.1.0
|
||||
# via pytest
|
||||
black==22.10.0
|
||||
black==24.1.1
|
||||
# via -r ./requirements_dev.in
|
||||
build==0.9.0
|
||||
build==1.0.3
|
||||
# via -r ./requirements_dev.in
|
||||
click==8.1.3
|
||||
click==8.1.7
|
||||
# via black
|
||||
colored==1.4.3
|
||||
# via syrupy
|
||||
coverage[toml]==6.5.0
|
||||
coverage[toml]==7.4.1
|
||||
# via pytest-cov
|
||||
dill==0.3.6
|
||||
dill==0.3.8
|
||||
# via pylint
|
||||
exceptiongroup==1.0.0
|
||||
iniconfig==2.0.0
|
||||
# via pytest
|
||||
iniconfig==1.1.1
|
||||
# via pytest
|
||||
isort==5.10.1
|
||||
isort==5.13.2
|
||||
# via pylint
|
||||
lazy-object-proxy==1.8.0
|
||||
# via astroid
|
||||
mccabe==0.7.0
|
||||
# via pylint
|
||||
mypy-extensions==0.4.3
|
||||
mypy-extensions==1.0.0
|
||||
# via black
|
||||
packaging==21.3
|
||||
packaging==23.2
|
||||
# via
|
||||
# black
|
||||
# build
|
||||
# pytest
|
||||
pathspec==0.10.1
|
||||
pathspec==0.12.1
|
||||
# via black
|
||||
pep517==0.13.0
|
||||
# via build
|
||||
platformdirs==2.5.2
|
||||
platformdirs==4.2.0
|
||||
# via
|
||||
# black
|
||||
# pylint
|
||||
pluggy==1.0.0
|
||||
pluggy==1.4.0
|
||||
# via pytest
|
||||
pylint==2.15.5
|
||||
pylint==3.0.3
|
||||
# via -r ./requirements_dev.in
|
||||
pyparsing==3.0.9
|
||||
# via packaging
|
||||
pytest==7.2.0
|
||||
pyproject-hooks==1.0.0
|
||||
# via build
|
||||
pytest==7.4.4
|
||||
# via
|
||||
# -r ./requirements_dev.in
|
||||
# pytest-cov
|
||||
# syrupy
|
||||
pytest-cov==4.0.0
|
||||
pytest-cov==4.1.0
|
||||
# via -r ./requirements_dev.in
|
||||
syrupy==3.0.2
|
||||
syrupy==4.6.0
|
||||
# via -r ./requirements_dev.in
|
||||
toml==0.10.2
|
||||
# via -r ./requirements_dev.in
|
||||
tomli==2.0.1
|
||||
# via
|
||||
# black
|
||||
# build
|
||||
# coverage
|
||||
# pep517
|
||||
# pylint
|
||||
# pytest
|
||||
tomlkit==0.11.6
|
||||
tomlkit==0.12.3
|
||||
# via pylint
|
||||
typing-extensions==4.4.0
|
||||
# via
|
||||
# astroid
|
||||
# black
|
||||
# pylint
|
||||
wrapt==1.14.1
|
||||
# via astroid
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
PROJECT="slack-status-cli"
|
||||
|
||||
python -m pip install pip==21.2.0 pip-tools==6.5.0 --no-cache
|
||||
python -m pip install --upgrade setuptools
|
||||
python -m pip install pip~=23.0 pip-tools~=7.3 --no-cache
|
||||
|
||||
if [ ! -d "./$PROJECT.venv" ]; then
|
||||
python -m venv ./$PROJECT.venv
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# serializer version: 1
|
||||
# name: test_sends_request_to_slack_api_on_success
|
||||
dict({
|
||||
'profile': list([
|
||||
|
|
Loading…
Reference in a new issue