From a2bf7579ec398bfbf7f6b01eebe438e4733e57d3 Mon Sep 17 00:00:00 2001 From: Sep Dehpour Date: Fri, 9 May 2025 11:37:49 -0700 Subject: [PATCH 1/2] remove setuptools --- .github/workflows/main.yaml | 2 -- pyproject.toml | 10 +++------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index bbb2d147..94d4da36 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -27,8 +27,6 @@ jobs: - name: Install nox run: pip install nox==2025.5.1 - - name: Upgrade setuptools & wheel (for all venvs) - run: pip install --upgrade setuptools wheel - name: Lint with flake8 if: ${{ matrix.python-version == '3.12' }} diff --git a/pyproject.toml b/pyproject.toml index df9c2790..08b18df9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,9 @@ requires = ["flit_core >=3.11,<4"] build-backend = "flit_core.buildapi" +[tool.flit.include] +paths = ["deepdiff/py.typed"] + [project] name = "deepdiff" version = "8.5.0" @@ -66,7 +69,6 @@ static = [ "flake8~=7.1.0", "flake8-pyproject~=1.2.3", "pydantic~=2.10.0", - "types-setuptools~=75.8.0", ] test = [ "pytest~=8.3.0", @@ -100,9 +102,3 @@ exclude = "./data,./src,.svn,CVS,.bzr,.hg,.git,__pycache__" [tool.pytest.ini_options] addopts = "--pdbcls=IPython.terminal.debugger:Pdb" - -[tool.setuptools] -packages = ["deepdiff"] - -[tool.setuptools.package-metadata] -deepdiff = ["py.typed"] From f8f10729b29ea7b34e1b76033708d2ddd413ecb1 Mon Sep 17 00:00:00 2001 From: Sep Dehpour Date: Fri, 9 May 2025 11:40:26 -0700 Subject: [PATCH 2/2] fix pyproject --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 08b18df9..3e1dcfcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,6 @@ requires = ["flit_core >=3.11,<4"] build-backend = "flit_core.buildapi" -[tool.flit.include] -paths = ["deepdiff/py.typed"] - [project] name = "deepdiff" version = "8.5.0"