Skip to content

Commit e6ad084

Browse files
committed
chore: chore/update libs (#62)
- chore: update common libs - chore(actions): update linux version to 22.04 - chore: file reformatted - chore: fix flake8 import order
1 parent c317250 commit e6ad084

File tree

6 files changed

+21
-17
lines changed

6 files changed

+21
-17
lines changed

.github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@ on: [push]
77

88
jobs:
99
lint_shellcheck:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v1
1313
- name: lint shellcheck
1414
run: make lint.shellcheck
1515
lint_flake8:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v1
1919
- name: lint flake8
2020
run: make lint.flake8
2121
lint_black:
22-
runs-on: ubuntu-18.04
22+
runs-on: ubuntu-22.04
2323
steps:
2424
- uses: actions/checkout@v1
2525
- name: lint black
2626
run: make lint.black
2727
lint_commit:
28-
runs-on: ubuntu-18.04
28+
runs-on: ubuntu-22.04
2929
steps:
3030
- uses: actions/checkout@v1
3131
- name: lint commit
3232
run: make lint.commit
3333
test_unit_3_8:
34-
runs-on: ubuntu-18.04
34+
runs-on: ubuntu-22.04
3535
needs:
3636
- lint_shellcheck
3737
- lint_flake8
@@ -42,7 +42,7 @@ jobs:
4242
- name: test unit_3_8
4343
run: make test.unit_3_8
4444
test_unit_3_9:
45-
runs-on: ubuntu-18.04
45+
runs-on: ubuntu-22.04
4646
needs:
4747
- lint_shellcheck
4848
- lint_flake8
@@ -53,7 +53,7 @@ jobs:
5353
- name: test unit_3_9
5454
run: make test.unit_3_9
5555
test_unit_3_10:
56-
runs-on: ubuntu-18.04
56+
runs-on: ubuntu-22.04
5757
needs:
5858
- lint_shellcheck
5959
- lint_flake8

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Upload Release Asset
77

88
jobs:
99
pypi:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v1
1313
- name: pypi publish

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ dist
99
*.pyc
1010
htmlcov
1111
env
12-
.vscode
12+
.vscode
13+
.venv

proxmox_pci_switcher/proxmox_pci_switcher.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import urllib3
12
from proxmoxer import ProxmoxAPI
23
import yaml
34
from argh import named, aliases, arg, dispatch_commands
@@ -6,6 +7,8 @@
67
import sys
78
from importlib.machinery import SourceFileLoader
89

10+
urllib3.disable_warnings()
11+
912
DEFAULT_LINUX_PATH = "~/.config/proxmox-pci-switcher/config.yaml"
1013
DEFAULT_WINDOWS_PATH = "~\\AppData\\Local\\proxmox-pci-switcher\\config.yaml"
1114

requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
proxmoxer==1.3.1
2-
requests==2.28.1
3-
paramiko==2.11.0
1+
proxmoxer==2.0.1
2+
requests==2.28.2
3+
paramiko==3.1.0
44
argh==0.26.2
55
PyYAML==6.0
6-
tabulate==0.8.10
6+
tabulate==0.9.0
77
Kivy==2.1.0
88
kivymd==0.104.2

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
include_package_data=True,
2727
python_requires=">=3.6",
2828
install_requires=[
29-
"proxmoxer==1.3.1",
30-
"requests==2.28.1",
31-
"paramiko==2.11.0",
29+
"proxmoxer==2.0.1",
30+
"requests==2.28.2",
31+
"paramiko==3.1.0",
3232
"argh==0.26.2",
3333
"PyYAML==6.0",
34-
"tabulate==0.8.10",
34+
"tabulate==0.9.0",
3535
"Kivy==2.1.0",
3636
"kivymd==0.104.2",
3737
],

0 commit comments

Comments
 (0)