Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update clp-ffi-py dependency; Drop support for Python3.6. #41

Merged
merged 18 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 9 additions & 25 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.7", "3.8", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -52,34 +52,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v3
- name: Download wheels for Python3.7
if: ${{ '3.7' == matrix.python-version }}
uses: actions/download-artifact@v3
with:
name: wheel-${{ matrix.python-version }}
name: wheel-3.8
path: dist/

- run: pip install --upgrade
pip
dist/clp_logging-*.whl
-r requirements-test.txt

- run: python -m unittest -fv

test-py36:
needs: [build]
strategy:
matrix:
os: [macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.6"

- uses: actions/download-artifact@v3
- name: Download wheels for Built Python Versions
if: ${{ '3.7' != matrix.python-version }}
uses: actions/download-artifact@v3
with:
name: wheel-3.8
name: wheel-${{ matrix.python-version }}
path: dist/

- run: pip install --upgrade
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ logging.getLogger(__name__).addHandler(clp_handler)

## Compatibility

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

## Development
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ authors = [
]
description = "Logging/encoding/decoding using CLP's IR stream format"
readme = "README.md"
requires-python = ">=3.6"
requires-python = ">=3.7"
dependencies = [
"clp-ffi-py >= 0.0.9",
"clp-ffi-py >= 0.0.11",
"python-dateutil >= 2.7.0",
"typing-extensions >= 3.7.4",
"zstandard >= 0.18.0",
Expand All @@ -32,7 +32,7 @@ dev = [
"types-python-dateutil >= 2.8.19.2",
]
test = [
"smart_open >= 6.3.0",
"smart_open == 6.4.0",
]

[project.urls]
Expand Down
Loading