Skip to content

Commit 3118611

Browse files
committed
finally done
1 parent 8f9bbe9 commit 3118611

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/jsonparse-buildtest.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies
2626
run: |
27-
python -m pip install --upgrade pip
2827
pip install .[buildtest27_library_only]
2928
- name: Test with pytest and generate codecov
3029
run: |
31-
pytest --cov=jsonparse --ignore=tests/webapi
30+
pytest --cov=jsonparse --ignore=tests/test_webapi.py
3231
- uses: codecov/codecov-action@v3
3332
with:
3433
token: ${{ secrets.CODECOV_TOKEN }}

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ dev = [
6868
"gunicorn==20.1.0",
6969
"werkzeug==2.0.0"
7070
]
71-
buildtest27_library_only = [
72-
"hatchling==0.25.1", # includes 2.7 support, but not 3.6 :/ CI will fail for 3.6
73-
"pytest==4.6.11",
74-
"pytest-cov==2.12.1",
75-
]
7671
buildtest37_onward = [
7772
"hatchling==1.17.1", # CI fix
7873
"pytest==7.0.1",

setup.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
DESCRIPTION = 'Search through JSON data key:values'
2121
URL = url = 'https://github.com/ctomkow/jsonparse'
2222
EMAIL = 'ctomkow@gmail.com'
23-
AUTHOR = 'Craig Tomkow'
24-
REQUIRES_PYTHON = '>=3.6'
23+
AUTHOR = 'Craig Abt Tomkow'
24+
REQUIRES_PYTHON = ">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,!=3.5"
2525

2626
setup(
2727
name=NAME,
@@ -45,10 +45,15 @@
4545
],
4646
extras_require={
4747
'webapi': [
48-
'flask==2.0.3',
49-
'gunicorn==20.1.0',
50-
'werkzeug==2.0.0',
51-
]
48+
'flask==2.0.3',
49+
'gunicorn==20.1.0',
50+
'werkzeug==2.0.0',
51+
],
52+
'buildtest27_library_only': [
53+
"hatchling==0.25.1", # includes 2.7 support, but not 3.6 :/ CI will fail for 3.6
54+
"pytest==4.6.11",
55+
"pytest-cov==2.12.1",
56+
],
5257
},
5358
entry_points={
5459
'console_scripts': [
File renamed without changes.

0 commit comments

Comments
 (0)