public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orphaned Packages Process <packaging-reports@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-lsp-black] rawhide: Orphaned for 6+ weeks
Date: Wed, 04 Nov 2026 19:31:34 GMT [thread overview]
Message-ID: <179382069417.1.10028321632695000047.rpms-python-lsp-black-e80abdc43791@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-lsp-black
Branch : rawhide
Commit : e80abdc437917a811985074dfc44f11ef81a19a3
Author : Orphaned Packages Process <packaging-reports@fedoraproject.org>
Date : 2026-11-04T13:31:25-06:00
Stats : +1/-284 in 9 file(s)
URL : https://src.fedoraproject.org/rpms/python-lsp-black/c/e80abdc437917a811985074dfc44f11ef81a19a3?branch=rawhide
Log:
Orphaned for 6+ weeks
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 5d3f1f0..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/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/56.patch b/56.patch
deleted file mode 100644
index b013e09..0000000
--- a/56.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From d43b41431379f9c9bb05fab158c4d97e6d515f8f Mon Sep 17 00:00:00 2001
-From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
-Date: Tue, 20 Feb 2024 07:44:20 +0100
-Subject: [PATCH] Make tests work with black 24.2.0
-
-Closes: #55
----
- setup.cfg | 2 ++
- tests/test_plugin.py | 18 ++++++++++++++++--
- 2 files changed, 18 insertions(+), 2 deletions(-)
-
-diff --git a/setup.cfg b/setup.cfg
-index a4fefd3..5103bcb 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -22,6 +22,8 @@ install_requires =
- python-lsp-server>=1.4.0
- black>=23.11.0
- tomli; python_version<'3.11'
-+tests_require =
-+ black>=24.2.0
- python_requires = >= 3.8
-
- [options.entry_points]
-diff --git a/tests/test_plugin.py b/tests/test_plugin.py
-index 0a51767..2ae8088 100644
---- a/tests/test_plugin.py
-+++ b/tests/test_plugin.py
-@@ -281,7 +281,14 @@ def test_load_config_defaults(config):
-
- assert config == {
- "line_length": 88,
-- "target_version": set(),
-+ "target_version": set(
-+ [
-+ black.TargetVersion.PY38,
-+ black.TargetVersion.PY39,
-+ black.TargetVersion.PY310,
-+ black.TargetVersion.PY311,
-+ ]
-+ ),
- "pyi": False,
- "fast": False,
- "skip_magic_trailing_comma": False,
-@@ -297,7 +304,14 @@ def test_load_config_with_skip_options(config_with_skip_options):
-
- assert config == {
- "line_length": 88,
-- "target_version": set(),
-+ "target_version": set(
-+ [
-+ black.TargetVersion.PY38,
-+ black.TargetVersion.PY39,
-+ black.TargetVersion.PY310,
-+ black.TargetVersion.PY311,
-+ ]
-+ ),
- "pyi": False,
- "fast": False,
- "skip_magic_trailing_comma": True,
diff --git a/59.patch b/59.patch
deleted file mode 100644
index b9400cd..0000000
--- a/59.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9298585a9d14d25920c33b188d79e820dc98d4a9 Mon Sep 17 00:00:00 2001
-From: Anton Zhukharev <ancieg@altlinux.org>
-Date: Tue, 9 Apr 2024 16:06:55 +0300
-Subject: [PATCH] Make tests work with black 24.3.0
-
-Closes: #57
-
-Black changed raising exception from AssertionError to ASTSafetyError
-and we need to apply similar change.
-
-See: https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d
----
- pylsp_black/plugin.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pylsp_black/plugin.py b/pylsp_black/plugin.py
-index e4fb9ba..5523896 100644
---- a/pylsp_black/plugin.py
-+++ b/pylsp_black/plugin.py
-@@ -127,7 +127,7 @@ def format_text(*, text, config, lines):
- IndentationError,
- # raised when black produces invalid Python code or formats the file
- # differently on the second pass
-- AssertionError,
-+ black.parsing.ASTSafetyError,
- ) as e:
- # errors will show on lsp stderr stream
- logger.error("Error formatting with black: %s", e)
diff --git a/64.patch b/64.patch
deleted file mode 100644
index 034e945..0000000
--- a/64.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 077c3e5e8720c6cb9e99483a8fd53899a007a0e9 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 14 Jul 2026 10:52:12 +0100
-Subject: [PATCH] Migrate test_entry_point from pkg_resources to
- importlib.metadata
-
----
- tests/test_plugin.py | 15 +++++++++------
- 1 file changed, 9 insertions(+), 6 deletions(-)
-
-diff --git a/tests/test_plugin.py b/tests/test_plugin.py
-index 2ae8088..0fa3e2d 100644
---- a/tests/test_plugin.py
-+++ b/tests/test_plugin.py
-@@ -1,11 +1,11 @@
- # Standard library imports
- import types
- from pathlib import Path
-+import importlib.metadata
- from unittest.mock import Mock
-
- # Third-party imports
- import black
--import pkg_resources
- import pytest
-
- # Python LSP imports
-@@ -321,13 +321,16 @@ def test_load_config_with_skip_options(config_with_skip_options):
-
-
- def test_entry_point():
-- distribution = pkg_resources.get_distribution("python-lsp-black")
-- entry_point = distribution.get_entry_info("pylsp", "black")
-+ entry_points_pylsp = importlib.metadata.entry_points(name="pylsp")
-+ entry_points_black = importlib.metadata.entry_points(name="black")
-
-- assert entry_point is not None
-+ assert entry_points_pylsp
-+ assert entry_points_black
-
-- module = entry_point.load()
-- assert isinstance(module, types.ModuleType)
-+ pylsp_entry = next(iter(entry_points_pylsp)).load()
-+ black_entry = next(iter(entry_points_pylsp)).load()
-+ assert isinstance(pylsp_entry, (types.ModuleType, types.FunctionType))
-+ assert isinstance(black_entry, (types.ModuleType, types.FunctionType))
-
-
- def test_pylsp_format_crlf_document(
diff --git a/65.patch b/65.patch
deleted file mode 100644
index 55d31ad..0000000
--- a/65.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 35b5bc6f944bddac0c896127dc44a9404e95f482 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 14 Jul 2026 11:17:27 +0100
-Subject: [PATCH] =?UTF-8?q?Fix=20compatibility=20with=20black=E2=89=A526.5?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
----
- pylsp_black/plugin.py | 25 ++++++++++++++++---------
- 1 file changed, 16 insertions(+), 9 deletions(-)
-
-diff --git a/pylsp_black/plugin.py b/pylsp_black/plugin.py
-index 5523896..a6751bb 100644
---- a/pylsp_black/plugin.py
-+++ b/pylsp_black/plugin.py
-@@ -100,6 +100,21 @@ def format_text(*, text, config, lines):
- magic_trailing_comma=not config["skip_magic_trailing_comma"],
- preview=config["preview"],
- )
-+ handled_errors = (
-+ # raised when the file has syntax errors
-+ ValueError,
-+ # raised when the file being formatted has an indentation error
-+ IndentationError,
-+ # raised when black produces invalid Python code or formats the file
-+ # differently on the second pass
-+ black.parsing.ASTSafetyError,
-+ )
-+ # SourceASTParseError was split out from ASTSafetyError in black 26.5.0,
-+ # https://github.com/psf/black/pull/5080; expect it if it exists.
-+ try:
-+ handled_errors += (black.parsing.SourceASTParseError,)
-+ except AttributeError:
-+ pass
- try:
- # Black's format_file_contents only works reliably when eols are '\n'. It gives
- # an error for '\r' and produces wrong formatting for '\r\n'. So we replace
-@@ -120,15 +135,7 @@ def format_text(*, text, config, lines):
- formatted_text = formatted_text.replace("\n", eol_chars)
-
- return formatted_text
-- except (
-- # raised when the file has syntax errors
-- ValueError,
-- # raised when the file being formatted has an indentation error
-- IndentationError,
-- # raised when black produces invalid Python code or formats the file
-- # differently on the second pass
-- black.parsing.ASTSafetyError,
-- ) as e:
-+ except handled_errors as e:
- # errors will show on lsp stderr stream
- logger.error("Error formatting with black: %s", e)
- raise black.NothingChanged from e
diff --git a/changelog b/changelog
deleted file mode 100644
index 05d425d..0000000
--- a/changelog
+++ /dev/null
@@ -1,11 +0,0 @@
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jul 07 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.0-2
-- Spec cleanup
-
-* Mon Jul 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.0-1
-- Initial package.
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5204a84
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Orphaned for 6+ weeks
diff --git a/python-lsp-black.spec b/python-lsp-black.spec
deleted file mode 100644
index a66f422..0000000
--- a/python-lsp-black.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-%global short_name lsp-black
-
-%global _description %{expand:
-lsp-black is a python-lsp-server plugin that adds support to black
-autoformatter. This is forked from pyls-black to be compatible wth
-community maintained language-server (python-lsp-server).
-}
-
-Name: python-%{short_name}
-Version: 2.0.0
-Release: %autorelease
-Summary: A python-lsp-server plugin that adds support to black autoformatter
-
-%global forgeurl https://github.com/python-lsp/python-lsp-black
-%forgemeta
-
-# SPDX
-License: MIT
-URL: %{forgeurl}
-Source: %{forgesource}
-# Fix tests failing since `black >= 24.3.0`
-# https://github.com/python-lsp/python-lsp-black/issues/57
-Patch: %{forgeurl}/pull/59.patch
-# And two more failing since `black >= 24.4.0`
-# https://github.com/python-lsp/python-lsp-black/issues/57
-Patch: %{forgeurl}/pull/56.patch
-# Migrate test_entry_point from pkg_resources to importlib.metadata
-# https://github.com/python-lsp/python-lsp-black/pull/64
-# Fixes compatibility with setuptools≥82.
-Patch: %{forgeurl}/pull/64.patch
-# Fix compatibility with black≥26.5
-# https://github.com/python-lsp/python-lsp-black/pull/65
-Patch: %{forgeurl}/pull/65.patch
-
-BuildArch: noarch
-
-BuildRequires: python3-devel
-BuildRequires: pyproject-rpm-macros
-BuildRequires: python3-pytest
-
-%description %_description
-
-%package -n python3-%{short_name}
-Summary: %{summary}
-
-Supplements: python3dist(python-lsp-server)
-
-%description -n python3-%{short_name} %_description
-
-%prep
-%forgeautosetup -p1
-# 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
-
-%build
-%pyproject_wheel
-
-%install
-%pyproject_install
-
-%pyproject_save_files pylsp_black
-
-%check
-%pytest -v
-
-%files -n python3-%{short_name} -f %{pyproject_files}
-%license LICENSE
-%doc README.md
-
-%changelog
-%autochangelog
diff --git a/sources b/sources
deleted file mode 100644
index f2a0437..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (python-lsp-black-2.0.0.tar.gz) = e374ea34ac53e0d78ba198814210d9d7293e18b8fc7b22bb288621a994c8c9d492cc9c99c40cd1574b618add518671430e1e88f32e93e4c95507373932c08dc0
reply other threads:[~2026-11-04 19:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179382069417.1.10028321632695000047.rpms-python-lsp-black-e80abdc43791@fedoraproject.org \
--to=packaging-reports@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox