Skip to content

Commit

Permalink
Drop Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus committed Oct 22, 2023
1 parent c62179d commit 0f4fc61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -32,9 +31,8 @@ classifiers = [
"Topic :: Utilities",
]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"cached-property; python_version < \"3.8\"",
"packaging>=22.0",
"pydantic>=1.10.7,<2",
]
Expand Down Expand Up @@ -98,13 +96,13 @@ filterwarnings = [
ignore_missing_imports = true
follow_imports = "skip"
html_report = "mypyhtml"
python_version = "3.7"
python_version = "3.8"

[tool.black]
line-length = 90

[tool.ruff]
target-version = "py37"
target-version = "py38"
fix = true
line-length = 90
select = [
Expand Down
5 changes: 1 addition & 4 deletions src/pythonfinder/models/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os
import sys
from collections import ChainMap, defaultdict
from functools import cached_property
from itertools import chain
from pathlib import Path
from typing import (
Expand All @@ -19,10 +20,6 @@
Union,
)

if sys.version_info >= (3, 8):
from functools import cached_property
else:
from cached_property import cached_property
from pydantic import Field, root_validator

from ..environment import (
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
docs, packaging, py37, py38, py39, py310, py311, coverage-report
docs, packaging, py38, py39, py310, py311, coverage-report

[gh-actions]
python =
Expand Down

0 comments on commit 0f4fc61

Please sign in to comment.