Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for py38 #177

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 47 additions & 35 deletions .config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,52 +1,64 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --extra=test --no-annotate --output-file=.config/requirements.txt --resolver=backtracking --strip-extras setup.cfg
# pip-compile --extra=test --no-annotate --output-file=.config/requirements.txt --strip-extras pyproject.toml
#
bleach==6.0.0
blessings==1.7
build==0.10.0
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.0.1
click==8.1.3
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
cryptography==39.0.2
diskcache==5.4.0
docutils==0.19
gitdb==4.0.10
gitpython==3.1.31
idna==3.4
importlib-metadata==6.2.0
jaraco-classes==3.2.3
jeepney==0.8.0
keyring==23.13.1
markdown-it-py==2.2.0
coverage==7.4.0
diskcache==5.6.3
distlib==0.3.8
docutils==0.20.1
exceptiongroup==1.2.0
filelock==3.13.1
gitdb==4.0.11
gitpython==3.1.41
idna==3.6
importlib-metadata==7.0.1
iniconfig==2.0.0
jaraco-classes==3.3.0
keyring==24.3.0
markdown-it-py==3.0.0
mdurl==0.1.2
more-itertools==9.1.0
packaging==23.0
more-itertools==10.2.0
nh3==0.2.15
packaging==23.2
pkginfo==1.9.6
pluggy==1.0.0
pycparser==2.21
pygments==2.14.0
platformdirs==4.1.0
pluggy==1.3.0
py-cpuinfo==9.0.0
pygments==2.17.2
pyproject-api==1.6.1
pyproject-hooks==1.0.0
pytest==7.4.4
pytest-benchmark==4.0.0
pytest-plus==0.6.1
pyyaml==6.0.1
readme-renderer==37.3
requests==2.28.2
requests-toolbelt==0.10.1
readme-renderer==42.0
requests==2.31.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.3.3
secretstorage==3.3.3
shellingham==1.5.0.post1
rich==13.7.0
shellingham==1.5.4
six==1.16.0
smmap==5.0.0
smmap==5.0.1
subprocess-tee==0.4.1
tomli==2.0.1 ; python_version < "3.11"
tox==4.11.4
twine==4.0.2
typer==0.7.0
urllib3==1.26.14
webencodings==0.5.1
zipp==3.15.0
typer==0.9.0
typing-extensions==4.9.0
urllib3==2.1.0
virtualenv==20.25.0
zipp==3.17.0

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: generate_matrix
uses: coactions/dynamic-matrix@v1
with:
min_python: "3.8"
min_python: "3.9"
max_python: "3.12"
other_names: |
lint
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
hooks:
- id: mypy
# mypy args needed in order to match mypy cli behavior
args: ["--python-version", "3.8"]
args: ["--python-version", "3.9"]
entry: mypy src/
pass_filenames: false
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.9
color_output = True
error_summary = True
# TODO(ssbarnea): Remove ignores below:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
# https://peps.python.org/pep-0621/#readme
requires-python = ">=3.8"
requires-python = ">=3.9"
dynamic = ["version", "dependencies", "optional-dependencies"]
name = "mk"
description = "mk"
Expand All @@ -25,7 +25,6 @@ classifiers = [
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ extras =
description = Update dependency lock files
# Force it to use oldest supported version of python or we would lose ability
# to get pinning correctly.
basepython = python3.8
basepython = python3.9
deps =
pip-tools >= 6.12.3
setenv =
PIP_CONSTRAINT=
commands =
pip-compile --upgrade --resolver=backtracking --no-annotate --strip-extras --output-file=.config/requirements.txt --extra test setup.cfg
pip-compile --upgrade --resolver=backtracking --no-annotate --strip-extras --output-file=.config/requirements.txt --extra test pyproject.toml

[testenv:docs]
description = Builds docs
Expand Down