diff --git a/.circleci/config.yml b/.circleci/config.yml index 1e82e034..64fb5840 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -119,16 +119,10 @@ jobs: docs: <<: *docs docker: - - image: cimg/python:3.9 + - image: cimg/python:3.10 environment: TOXENV: docs - py38-core: - <<: *common - docker: - - image: cimg/python:3.8 - environment: - TOXENV: py38-core py39-core: <<: *common docker: @@ -153,13 +147,13 @@ jobs: - image: cimg/python:3.12 environment: TOXENV: py312-core - - py38-lint: + py313-core: <<: *common docker: - - image: cimg/python:3.8 + - image: cimg/python:3.13 environment: - TOXENV: py38-lint + TOXENV: py313-core + py39-lint: <<: *common docker: @@ -184,13 +178,13 @@ jobs: - image: cimg/python:3.12 environment: TOXENV: py312-lint - - py38-wheel: + py313-lint: <<: *common docker: - - image: cimg/python:3.8 + - image: cimg/python:3.13 environment: - TOXENV: py38-wheel + TOXENV: py313-lint + py39-wheel: <<: *common docker: @@ -215,6 +209,12 @@ jobs: - image: cimg/python:3.12 environment: TOXENV: py312-wheel + py313-wheel: + <<: *common + docker: + - image: cimg/python:3.13 + environment: + TOXENV: py313-wheel py311-windows-wheel: <<: *windows-wheel-setup @@ -242,25 +242,39 @@ jobs: - <<: *run-tox-step - <<: *save-cache-step + py313-windows-wheel: + <<: *windows-wheel-setup + steps: + - checkout + - <<: *restore-cache-step + - <<: *install-pyenv-step + - run: + name: set minor version + command: echo "export MINOR_VERSION='3.13'" >> $BASH_ENV + - <<: *install-latest-python-step + - <<: *run-tox-step + - <<: *save-cache-step + define: &all_jobs - docs - - py38-core - py39-core - py310-core - py311-core - py312-core - - py38-lint + - py313-core - py39-lint - py310-lint - py311-lint - py312-lint - - py38-wheel + - py313-lint - py39-wheel - py310-wheel - py311-wheel - py312-wheel + - py313-wheel - py311-windows-wheel - py312-windows-wheel + - py313-windows-wheel workflows: version: 2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52554889..27e397a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: rev: v3.15.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/psf/black rev: 23.9.1 hooks: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index acf57208..e72927c2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.9" + python: "3.10" sphinx: configuration: docs/conf.py diff --git a/LICENSE b/LICENSE index b76b24d4..f62c80ac 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019-2023 The Ethereum Foundation +Copyright (c) 2019-2024 The Ethereum Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/setup.py b/setup.py index 9df5e76c..8d4afe03 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ setup( install_requires=[ "eth-utils>=2", ], - python_requires=">=3.8, <4", + python_requires=">=3.9, <4", extras_require=extras_require, py_modules=[""], license="MIT", @@ -63,10 +63,10 @@ setup( "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ], ) diff --git a/tox.ini b/tox.ini index f7c0dfee..a7520269 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist= - py{38,39,310,311,312}-core - py{38,39,310,311,312}-lint - py{38,39,310,311,312}-wheel + py{39,310,311,312,313}-core + py{39,310,311,312,313}-lint + py{39,310,311,312,313}-wheel windows-wheel docs @@ -23,23 +23,23 @@ commands= basepython= docs: python windows-wheel: python - py38: python3.8 py39: python3.9 py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13 extras= test docs allowlist_externals=make,pre-commit -[testenv:py{38,39,310,311,312}-lint] +[testenv:py{39,310,311,313}-lint] deps=pre-commit commands= pre-commit install pre-commit run --all-files --show-diff-on-failure -[testenv:py{38,39,310,311,312}-wheel] +[testenv:py{39,310,311,312,313}-wheel] deps= wheel build[virtualenv]