Skip to content
Snippets Groups Projects
Commit db49dfa3 authored by Kien Le's avatar Kien Le
Browse files

Merge branch 'meta-remove_python3.7_support' into 'master'

Update Python support

See merge request !184
parents 9d9865ec 38b874e1
No related branches found
No related tags found
1 merge request!184Update Python support
Pipeline #3078 passed with stage
in 2 minutes and 15 seconds
......@@ -31,24 +31,24 @@ flake8:
- flake8 --exclude sohstationviewer/view/ui,sohstationviewer/controller/core/ sohstationviewer
- flake8 tests
python3.7:
image: python:3.7
python3.8:
image: python:3.8
tags:
- passoft
stage: Build Env and Test
script:
- python -m unittest
python3.8:
image: python:3.8
python3.9:
image: python:3.9
tags:
- passoft
stage: Build Env and Test
script:
- python -m unittest
python3.9:
image: python:3.9
python3.10:
image: python:3.10
tags:
- passoft
stage: Build Env and Test
......
......@@ -20,9 +20,9 @@ setup(
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
description="Visualize State-of-Health packets from raw data recorded by "
"different type of dataloggers.",
......@@ -47,7 +47,7 @@ setup(
keywords='sohstationviewer',
name='sohstationviewer',
packages=find_packages(include=['sohstationviewer']),
url='https://git.passcal.nmt.edu/passoft/sohstationviewer',
version='2021.167',
url='https://git.passcal.nmt.edu/software_public/passoft/sohstationviewer',
version='2023.1.0.0',
zip_safe=False,
)
import sys
if sys.version_info.minor >= 8:
from typing import Literal
from typing import Literal
# waveform pattern
WF_1ST = 'A-HLM-V'
......@@ -78,7 +76,4 @@ HOUR_TO_TMBAR_D = 100
# TYPING CONSTANT
# ================================================================= #
if sys.version_info.minor >= 8:
ColorMode = Literal['B', 'W']
else:
ColorMode = str
ColorMode = Literal['B', 'W']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment