Skip to content

Commit 70ca462

Browse files
Update clp-ffi-py dependency; Drop support for Python3.6. (#41)
1 parent 3d69466 commit 70ca462

File tree

3 files changed

+13
-29
lines changed

3 files changed

+13
-29
lines changed

.github/workflows/package.yaml

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
matrix:
4545
os: [macos-latest, ubuntu-latest]
46-
python-version: ["3.8", "3.11"]
46+
python-version: ["3.7", "3.8", "3.11"]
4747
runs-on: ${{ matrix.os }}
4848
steps:
4949
- uses: actions/checkout@v3
@@ -52,34 +52,18 @@ jobs:
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454

55-
- uses: actions/download-artifact@v3
55+
- name: Download wheels for Python3.7
56+
if: ${{ '3.7' == matrix.python-version }}
57+
uses: actions/download-artifact@v3
5658
with:
57-
name: wheel-${{ matrix.python-version }}
59+
name: wheel-3.8
5860
path: dist/
5961

60-
- run: pip install --upgrade
61-
pip
62-
dist/clp_logging-*.whl
63-
-r requirements-test.txt
64-
65-
- run: python -m unittest -fv
66-
67-
test-py36:
68-
needs: [build]
69-
strategy:
70-
matrix:
71-
os: [macos-latest, ubuntu-20.04]
72-
runs-on: ${{ matrix.os }}
73-
steps:
74-
- uses: actions/checkout@v3
75-
76-
- uses: actions/setup-python@v4
77-
with:
78-
python-version: "3.6"
79-
80-
- uses: actions/download-artifact@v3
62+
- name: Download wheels for Built Python Versions
63+
if: ${{ '3.7' != matrix.python-version }}
64+
uses: actions/download-artifact@v3
8165
with:
82-
name: wheel-3.8
66+
name: wheel-${{ matrix.python-version }}
8367
path: dist/
8468

8569
- run: pip install --upgrade

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ logging.getLogger(__name__).addHandler(clp_handler)
208208

209209
## Compatibility
210210

211-
Tested on Python 3.6, 3.8, and 3.11 (should also work on newer versions).
211+
Tested on Python 3.7, 3.8, and 3.11 (should also work on newer versions).
212212
Built/packaged on Python 3.8 for convenience regarding type annotation.
213213

214214
## Development

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ authors = [
1111
]
1212
description = "Logging/encoding/decoding using CLP's IR stream format"
1313
readme = "README.md"
14-
requires-python = ">=3.6"
14+
requires-python = ">=3.7"
1515
dependencies = [
16-
"clp-ffi-py >= 0.0.9",
16+
"clp-ffi-py >= 0.0.11",
1717
"python-dateutil >= 2.7.0",
1818
"typing-extensions >= 3.7.4",
1919
"zstandard >= 0.18.0",
@@ -32,7 +32,7 @@ dev = [
3232
"types-python-dateutil >= 2.8.19.2",
3333
]
3434
test = [
35-
"smart_open >= 6.3.0",
35+
"smart_open == 6.4.0",
3636
]
3737

3838
[project.urls]

0 commit comments

Comments
 (0)