Skip to content

Commit

Permalink
Support Python 3.8+ (#64)
Browse files Browse the repository at this point in the history
This drops references to EOL'd Python versions.

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Sep 29, 2023
1 parent bfe5fc6 commit 0484919
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: trailofbits/.github/.github/workflows/[email protected]
with:
language: "python"
python-version: "3.7"
python-version: "3.8"

lint-markdown:
uses: trailofbits/.github/.github/workflows/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and [DEF CON 2021 talk](https://www.youtube.com/watch?v=bZ0m_H_dEJI).

## Installation

Fickling has been tested on Python 3.6 through Python 3.9 and has very few dependencies.
Fickling has been tested on Python 3.8 through Python 3.11 and has very few dependencies.
It can be installed through pip:

```bash
Expand Down
37 changes: 8 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,23 @@ dynamic = ["version"]
description = "A static analyzer and interpreter for Python pickle data"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Trail of Bits", email = "[email protected]" }
]
authors = [{ name = "Trail of Bits", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Utilities"
]
dependencies = [
"astunparse ~= 1.6.3"
"Topic :: Utilities",
]
requires-python = ">=3.7"
dependencies = ["astunparse ~= 1.6.3"]
requires-python = ">=3.8"

[project.optional-dependencies]
lint = [
"black",
"mypy",
"ruff",
]
test = [
"pytest",
"pytest-cov",
"coverage[toml]",
]
dev = [
"build",
"fickling[lint,test]",
"twine",
]
examples = [
"numpy",
"pytorchfi~=0.4.1",
"torch~=1.9.0",
"torchvision~=0.10.0",
]
lint = ["black", "mypy", "ruff"]
test = ["pytest", "pytest-cov", "coverage[toml]"]
dev = ["build", "fickling[lint,test]", "twine"]
examples = ["numpy", "pytorchfi~=0.4.1", "torch~=1.9.0", "torchvision~=0.10.0"]

[project.scripts]
"fickling" = "fickling.__main__:main"
Expand Down

0 comments on commit 0484919

Please sign in to comment.