Skip to content

Commit e54378b

Browse files
committed
old stuff
1 parent fe62587 commit e54378b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/jsonparse-buildtest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies
2626
run: |
27-
pip install .[buildtest27_library_only]
27+
pip install .[buildtest27_library]
2828
- name: Test with pytest and generate codecov
2929
run: |
30-
pytest --cov=jsonparse
30+
pytest --cov=jsonparse --ignore=tests/test_webapi.py
3131
- uses: codecov/codecov-action@v3
3232
with:
3333
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/jsonparse-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install .[buildtest]
28+
pip install .[buildtest37_onward]
2929
- name: Build distributions
3030
run: |
3131
hatchling build --clean

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.10.7-bullseye as build
33
RUN mkdir -p /builddir
44
WORKDIR /builddir
55
COPY ./ ./
6-
RUN pip install .[buildtest]
6+
RUN pip install .[buildtest37_onward]
77
RUN hatchling build --clean
88

99
FROM python:3.10.7-slim-bullseye

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ dev = [
6868
"gunicorn==20.1.0",
6969
"werkzeug==2.0.0"
7070
]
71+
buildtest27_library = [
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+
]
7176
buildtest37_onward = [
7277
"hatchling==1.17.1", # CI fix
7378
"pytest==7.0.1",

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@
4949
'gunicorn==20.1.0',
5050
'werkzeug==2.0.0',
5151
],
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-
],
5752
},
5853
entry_points={
5954
'console_scripts': [

0 commit comments

Comments
 (0)