Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit b76c558

Browse files
add support for 3.6/3.7 by installing typing extensions/dataclasses
1 parent 6f19d5c commit b76c558

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/test-runner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77

88
runs-on: ubuntu-latest
99
strategy:
10-
max-parallel: 4
10+
max-parallel: 5
1111
matrix:
12-
python-version: ['3.8', '3.9', '3.10']
12+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

dynata_rex/models/opportunity_registry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"""
88
# Python Imports
99
from enum import Enum
10-
from typing import List, Literal, Union, Optional
10+
from typing import List, Optional, Union
11+
from typing_extensions import Literal
1112

1213
# Third Party Imports
1314
from pydantic import Field, HttpUrl

setup.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,21 @@
2424
extras_require={
2525
# pip install -e ".[testing]"
2626
"testing": ['pytest'],
27+
':python_version == "3.6"': [
28+
"typing-extensions==4.0.1",
29+
'dataclasses==0.8'
30+
],
31+
':python_version == "3.7"': [
32+
"typing-extensions==4.0.1"
33+
]
2734
},
2835
tests_require=['pytest'],
2936
keywords='respondent exchange rex smor dynata python',
3037
classifiers=[
3138
'Programming Language :: Python',
3239
'Programming Language :: Python :: 3',
40+
"Programming Language :: Python :: 3.6",
41+
"Programming Language :: Python :: 3.7",
3342
"Programming Language :: Python :: 3.8",
3443
"Programming Language :: Python :: 3.9",
3544
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)