diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 64a8b50..baddd71 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -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 @@ -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 diff --git a/README.md b/README.md index df0cf0c..cccf26e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 4485dd4..513e76d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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]