Skip to content

Commit

Permalink
Drop Python 3.7 support
Browse files Browse the repository at this point in the history
Python 3.7 is EOL since 27 June 2023.
Minimal supported Python version is now 3.8.
  • Loading branch information
yunzheng committed Sep 5, 2023
1 parent 14f71d6 commit b6fc919
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ name: Python Compatibility
on: [push, pull_request, workflow_dispatch]

jobs:
test-py37-py38:
test-py38:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.7"
python-include: "python3.7"
tox-env: "py37"
allow_failure: false
- python-version: "3.8"
python-include: "python3.8"
tox-env: "py38"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.7"
requires-python = "~=3.8"
license.text = "Affero General Public License v3"
authors = [
{name = "Dissect Team", email = "dissect@fox-it.com"}
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ deps =
vermin
commands =
flake8 flow tests
vermin -t=3.7- --no-tips --lint --exclude zoneinfo flow tests
vermin -t=3.8- --no-tips --lint --exclude zoneinfo flow tests

[flake8]
max-line-length = 120
Expand Down

0 comments on commit b6fc919

Please sign in to comment.