diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml deleted file mode 100644 index ae7d928..0000000 --- a/.github/workflows/compatibility.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Python Compatibility -on: [push, pull_request, workflow_dispatch] - -jobs: - test-py38: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - include: - - python-version: "3.8" - python-include: "python3.8" - tox-env: "py38" - allow_failure: false - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - lfs: true - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - cache: "pip" - cache-dependency-path: "pyproject.toml" - - run: pip install "tox==4.2.4" - - if: ${{ github.ref_name == 'main' }} - run: sed -i 's/\[tool.setuptools_scm\]/\[tool.setuptools_scm\]\nlocal_scheme = "no-local-version"/' pyproject.toml - - env: - C_INCLUDE_PATH: ${{ env.pythonLocation }}/include/${{ matrix.python-include }} - run: tox run -e ${{ matrix.tox-env }} - - uses: codecov/codecov-action@v3 - with: - env_vars: PYTHON - files: coverage.xml - flags: unittests - verbose: true - - uses: actions/upload-artifact@v3 - with: - name: coverage - path: coverage.xml diff --git a/pyproject.toml b/pyproject.toml index 0b296a9..d180edc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "flow.record" description = "A library for defining and creating structured data (called records) that can be streamed to disk or piped to other tools that use flow.record" readme = "README.md" -requires-python = "~=3.8" +requires-python = "~=3.9" license.text = "Affero General Public License v3" authors = [ {name = "Dissect Team", email = "dissect@fox-it.com"} @@ -24,7 +24,6 @@ classifiers = [ ] dependencies = [ "msgpack>=0.5.2", - "backports.zoneinfo[tzdata]; python_version<'3.9'", "tzdata; platform_system=='Windows'", ] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index c074376..0f3303b 100644 --- a/tox.ini +++ b/tox.ini @@ -50,7 +50,7 @@ deps = vermin commands = flake8 flow tests - vermin -t=3.8- --no-tips --lint --exclude zoneinfo flow tests + vermin --target=3.9 --no-tips --lint flow tests [flake8] max-line-length = 120