Skip to content

Commit 59694e4

Browse files
committed
Update CI Python versions
1 parent 3854585 commit 59694e4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [ 3.7, 3.8 ]
18+
python-version: [ 3.10, 3.11 ]
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Set up Python ${{ matrix.python-version }}
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
strategy:
3434
matrix:
35-
python-version: [ 3.7, 3.8 ]
35+
python-version: [ 3.10, 3.11 ]
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Set up Python ${{ matrix.python-version }}
@@ -53,10 +53,10 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- uses: actions/checkout@v2
56-
- name: Set up Python 3.8
56+
- name: Set up Python 3.11
5757
uses: actions/setup-python@v1
5858
with:
59-
python-version: 3.8
59+
python-version: 3.11
6060
- name: Install twine
6161
run: pip install twine wheel
6262
- name: Build package

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [ 3.7, 3.8 ]
18+
python-version: [ 3.10, 3.11 ]
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Set up Python ${{ matrix.python-version }}
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
strategy:
3434
matrix:
35-
python-version: [ 3.7, 3.8 ]
35+
python-version: [ 3.10, 3.11 ]
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Set up Python ${{ matrix.python-version }}

QLog/azure_system_logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def __init__(self, log_level=LogLevel.INFO):
1414
self.log_level = log_level
1515
if self.log_level is LogLevel.INFO:
1616
logging.getLogger().setLevel(logging.INFO)
17-
if self.log_level is LogLevel.WARNING:
17+
elif self.log_level is LogLevel.WARNING:
1818
logging.getLogger().setLevel(logging.WARNING)
19-
if self.log_level is LogLevel.ERROR:
19+
elif self.log_level is LogLevel.ERROR:
2020
logging.getLogger().setLevel(logging.ERROR)
2121
else:
2222
logging.getLogger().setLevel(logging.DEBUG)

QLog/system_logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def __init__(self, log_level=LogLevel.INFO):
1414
self.log_level = log_level
1515
if self.log_level is LogLevel.INFO:
1616
logging.getLogger().setLevel(logging.INFO)
17-
if self.log_level is LogLevel.WARNING:
17+
elif self.log_level is LogLevel.WARNING:
1818
logging.getLogger().setLevel(logging.WARNING)
19-
if self.log_level is LogLevel.ERROR:
19+
elif self.log_level is LogLevel.ERROR:
2020
logging.getLogger().setLevel(logging.ERROR)
2121
else:
2222
logging.getLogger().setLevel(logging.DEBUG)

0 commit comments

Comments
 (0)