From bf9de50cf567e477b8cfad821b5185a11fbb6d3a Mon Sep 17 00:00:00 2001 From: Christopher Zurcher Date: Thu, 12 Oct 2023 17:03:53 -0700 Subject: [PATCH] Add Python 3.12 compatibility, drop Python 3.7 (EOL) --- .github/workflows/test.yml | 8 +++----- CHANGELOG.rst | 6 ++++++ pyproject.toml | 4 ++-- requirements/development.txt | 2 +- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3196180..58eda88 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,9 @@ jobs: strategy: matrix: os: [ubuntu-20.04, macos-latest, windows-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] # https://bugs.python.org/issue43749 exclude: - - os: windows-latest - python-version: 3.7 - os: windows-latest python-version: 3.8 @@ -51,10 +49,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.12 - name: Install dependencies run: | make venv diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9d5c57b..24071aa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,7 @@ Unreleased_ Added ~~~~~ * (mkfs) `PR #30 `_: Add support for different FAT12 cluster sizes for filesystems up to 256MB by `@zurcher `_ / `@Microsoft `_ +* `PR #36 `_: Add Python 3.12 support by `@zurcher `_ / `@Microsoft `_ Changed ~~~~~~~ @@ -23,6 +24,11 @@ Changed - Introduce ``lazy_load`` parameter to allow restoring previous behavior - `PR #32 `_: Fix tree iteration on non-lazy load by `@zurcher `_ / `@Microsoft `_ +Removed +~~~~~~~ + +* `PR #36 `_: Drop Python 3.7 support by `@zurcher `_ / `@Microsoft `_ + 1.0.5_ - 2022-04-16 ------------------- diff --git a/pyproject.toml b/pyproject.toml index a3ef567..c482dfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools ~= 65.6", "setuptools_scm[toml] ~= 7.1"] +requires = ["setuptools ~= 67.8", "setuptools_scm[toml] ~= 7.1"] build-backend = "setuptools.build_meta" [project] @@ -46,7 +46,7 @@ development = [ "coveralls>=3.0.0,<4.0.0", "flake8~=5.0", "flake8-docstrings>=1.6.0,<2.0.0", - "pip-tools>=6.12.0,<7.0.0", + "pip-tools~=7.3.0", "sphinx>=4.0.3,<4.1.0", "build~=0.9", ] diff --git a/requirements/development.txt b/requirements/development.txt index 7c0cdbb..ab84029 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -69,7 +69,7 @@ packaging==22.0 # sphinx pep517==0.13.0 # via build -pip-tools==6.12.1 +pip-tools==7.3.0 # via pyfatfs (pyproject.toml) pluggy==1.0.0 # via pytest