Skip to content

Commit

Permalink
Chore/update libs (#62)
Browse files Browse the repository at this point in the history
* chore: update common libs

* chore(actions): update linux version to 22.04

* chore: file reformatted

* chore: fix flake8 import order
  • Loading branch information
rosineygp authored Jan 31, 2024
1 parent c317250 commit 991ffb7
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ on: [push]

jobs:
lint_shellcheck:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: lint shellcheck
run: make lint.shellcheck
lint_flake8:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: lint flake8
run: make lint.flake8
lint_black:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: lint black
run: make lint.black
lint_commit:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: lint commit
run: make lint.commit
test_unit_3_8:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs:
- lint_shellcheck
- lint_flake8
Expand All @@ -42,7 +42,7 @@ jobs:
- name: test unit_3_8
run: make test.unit_3_8
test_unit_3_9:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs:
- lint_shellcheck
- lint_flake8
Expand All @@ -53,7 +53,7 @@ jobs:
- name: test unit_3_9
run: make test.unit_3_9
test_unit_3_10:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs:
- lint_shellcheck
- lint_flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Upload Release Asset

jobs:
pypi:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: pypi publish
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ dist
*.pyc
htmlcov
env
.vscode
.vscode
.venv
3 changes: 3 additions & 0 deletions proxmox_pci_switcher/proxmox_pci_switcher.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import urllib3
from proxmoxer import ProxmoxAPI
import yaml
from argh import named, aliases, arg, dispatch_commands
Expand All @@ -6,6 +7,8 @@
import sys
from importlib.machinery import SourceFileLoader

urllib3.disable_warnings()

DEFAULT_LINUX_PATH = "~/.config/proxmox-pci-switcher/config.yaml"
DEFAULT_WINDOWS_PATH = "~\\AppData\\Local\\proxmox-pci-switcher\\config.yaml"

Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
proxmoxer==1.3.1
requests==2.28.1
paramiko==2.11.0
proxmoxer==2.0.1
requests==2.28.2
paramiko==3.1.0
argh==0.26.2
PyYAML==6.0
tabulate==0.8.10
tabulate==0.9.0
Kivy==2.1.0
kivymd==0.104.2
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
include_package_data=True,
python_requires=">=3.6",
install_requires=[
"proxmoxer==1.3.1",
"requests==2.28.1",
"paramiko==2.11.0",
"proxmoxer==2.0.1",
"requests==2.28.2",
"paramiko==3.1.0",
"argh==0.26.2",
"PyYAML==6.0",
"tabulate==0.8.10",
"tabulate==0.9.0",
"Kivy==2.1.0",
"kivymd==0.104.2",
],
Expand Down

0 comments on commit 991ffb7

Please sign in to comment.