diff --git a/.gitignore b/.gitignore index fdf58d8..5d3f1f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /python-lsp-black-1.0.0.tar.gz /python-lsp-black-1.2.0.tar.gz /python-lsp-black-1.3.0.tar.gz +/python-lsp-black-2.0.0.tar.gz diff --git a/lift_python_version_upper_bound.patch b/lift_python_version_upper_bound.patch deleted file mode 100644 index dea4989..0000000 --- a/lift_python_version_upper_bound.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setup.cfg b/setup.cfg -index e791aba..2b3c454 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -21,7 +21,7 @@ packages = find: - install_requires = - python-lsp-server>=1.4.0 - black>=22.3.0 -- tomli; python_version<'3.11' -+ tomli - python_requires = >= 3.7 - - [options.entry_points] diff --git a/python-lsp-black.spec b/python-lsp-black.spec index 6b71c5a..2528af3 100644 --- a/python-lsp-black.spec +++ b/python-lsp-black.spec @@ -8,15 +8,13 @@ community maintained language-server (python-lsp-server). } Name: python-%{short_name} -Version: 1.3.0 +Version: 2.0.0 Release: %autorelease Summary: A python-lsp-server plugin that adds support to black autoformatter %forgemeta License: MIT URL: %{forgeurl} Source0: %{forgesource} -# Enable building against Python3.12 -Patch: lift_python_version_upper_bound.patch BuildArch: noarch @@ -37,6 +35,8 @@ Supplements: python3dist(python-lsp-server) %autosetup -n %{name}-%{version} # Remove version pinning from python-lsp-server dependency sed -i -r -e 's/(lsp-server)>=.*/\1/' setup.cfg +# Remove Python version upper bound +sed -i -e 's/; python_version.*//' setup.cfg %generate_buildrequires %pyproject_buildrequires -x extras_require diff --git a/sources b/sources index a66dc7f..f2a0437 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-lsp-black-1.3.0.tar.gz) = 9e3d081ac022854626c120128949ab5e58c44f9e76ddd566e3b80a697fbc02a96f62994f43195b02f899e770768d55d223984267133eedd6f642b70560d46c09 +SHA512 (python-lsp-black-2.0.0.tar.gz) = e374ea34ac53e0d78ba198814210d9d7293e18b8fc7b22bb288621a994c8c9d492cc9c99c40cd1574b618add518671430e1e88f32e93e4c95507373932c08dc0