public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/ruff] epel10: Update to 0.16.7 (close RHBZ#2531616)
Date: Wed, 16 Sep 2026 09:59:36 GMT	[thread overview]
Message-ID: <178955277692.1.9975009487907841675.rpms-ruff-d0293aabb9cd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ruff
Branch : epel10
Commit : d0293aabb9cdb5ef020f83729a7441ddda33b4e6
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-16T10:59:14+01:00
Stats  : +6/-58 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ruff/c/d0293aabb9cdb5ef020f83729a7441ddda33b4e6?branch=epel10

Log:
Update to 0.16.7 (close RHBZ#2531616)

---
diff --git a/28245.patch b/28245.patch
deleted file mode 100644
index 33c09bc..0000000
--- a/28245.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 6ca0c8ffde8e9ecb21aa623634c1b845efec3eff Mon Sep 17 00:00:00 2001
-From: Xeonacid <h.dwwwwww@gmail.com>
-Date: Wed, 2 Sep 2026 07:42:11 +0200
-Subject: [PATCH] [ty] Relax symlink_inside_project index assertion
-
-unix::symlink_inside_project already documents that the file watcher
-may emit the change for the original path or the symlink path. Applying
-a change event for `bar/baz.py` adds that path to the project index.
-inotify reports the symlink path on some hosts, including riscv64,
-so the strict "original path only" check fails there.
-
-Keep the original path indexed and allow the symlink path as the only
-extra entry.
----
- crates/ty/tests/file_watching.rs | 16 +++++++++++++++-
- 1 file changed, 15 insertions(+), 1 deletion(-)
-
-diff --git a/crates/ty/tests/file_watching.rs b/crates/ty/tests/file_watching.rs
-index 98e2dbf127992..6c88b691f61ee 100644
---- a/crates/ty/tests/file_watching.rs
-+++ b/crates/ty/tests/file_watching.rs
-@@ -2019,6 +2019,9 @@ mod unix {
-         // * PyCharm doesn't update diagnostics if a symlinked module is changed (same as ty).
-         //
-         // That's why I think it's fine to not support this case for now.
-+        //
-+        // Applying a change event for the symlink path also adds `bar/baz.py` to the project
-+        // index. inotify reports that path on some hosts, so allow it as the only extra entry.
- 
-         let patched_baz_text = source_text(case.db(), patched_bar_baz_file);
-         let did_update_patched_baz = patched_baz_text.as_str() == "def baz(): print('Version 2')";
-@@ -2033,7 +2036,18 @@ mod unix {
-             bar_baz_text = bar_baz_text.as_str()
-         );
- 
--        case.assert_indexed_project_files([patched_bar_baz_file]);
-+        let indexed = case.db().project().files(case.db());
-+        assert!(
-+            indexed.contains(patched_bar_baz_file),
-+            "Expected '{patched_bar_baz}' to remain indexed."
-+        );
-+        for file in &indexed {
-+            let path = file.path(case.db());
-+            assert!(
-+                file == patched_bar_baz_file || file == baz_file,
-+                "Indexed project files contains '{path}' which was not expected."
-+            );
-+        }
-         Ok(())
-     }
- 

diff --git a/ruff.spec b/ruff.spec
index 5093ba5..4f51fa2 100644
--- a/ruff.spec
+++ b/ruff.spec
@@ -1,7 +1,7 @@
 %bcond check 1
 
 Name:           ruff
-Version:        0.16.6
+Version:        0.16.7
 # The ruff package has a permanent exception to the Updates Policy in Fedora,
 # so it can be updated in stable releases across SemVer boundaries (subject to
 # good judgement and actual compatibility of any reverse dependencies). See
@@ -149,11 +149,11 @@ URL:            https://github.com/astral-sh/ruff
 Source:         %{url}/archive/%{version}/ruff-%{version}.tar.gz
 
 # Get this from ruff/crates/ty_vendored/vendor/typeshed/source_commit.txt.
-%global typeshed_rev cf09d2a4d7614f648e9109dce609887499a7c6ee
+%global typeshed_rev bc016545988403f13b2dd9b56e88b931683c80b1
 # The typeshed project as a whole has never been versioned.
 %global typeshed_baseversion 0
 # Inspect https://github.com/python/typeshed/commit/%%{typeshed_rev}.
-%global typeshed_snapdate 20260831
+%global typeshed_snapdate 20260904
 
 # Downstream patch: always find the system-wide ruff executable
 #
@@ -164,9 +164,6 @@ Source:         %{url}/archive/%{version}/ruff-%{version}.tar.gz
 Patch:          0001-Downstream-patch-always-find-the-system-wide-ruff-ex.patch
 # * ignore tests in vendored annotate-snippets that hang indefinitely:
 Patch:          0002-ignore-vendored-annotate-snippets-tests-that-hang-in.patch
-# [ty] Relax symlink_inside_project index assertion - #28245
-# https://github.com/astral-sh/ruff/pull/28245
-Patch:          %{url}/pull/28245.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
@@ -368,6 +365,8 @@ skip="${skip-} --skip python_environment::ty_environment_and_discovered_venv"
 skip="${skip-} --skip python_environment::ty_environment_is_only_environment"
 # Not confirmed flaky, but the other ty_environment_* ones are, so…
 skip="${skip-} --skip python_environment::ty_environment_is_system_not_virtual"
+# See https://github.com/astral-sh/ruff/pull/28245
+skip="${skip-} --skip unix::symlink_inside_project"
 
 %ifarch s390x
 # This panics consistently on s390x only; not reported upstream since it

diff --git a/sources b/sources
index 1bc8ab9..42f6f26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ruff-0.16.6.tar.gz) = 9516c23d1e2963a5db8ed808c2ae99145afe44f8b86d8b83867f7baa839001784a356718de7f7c636fa8f125d269e2cfc622c68908eef941a39564bdfc9f5bd6
+SHA512 (ruff-0.16.7.tar.gz) = 221deb759aa9db4d3fc189a66011d6f763bbec60166e62fb935778966ec6f35e88b8ac94a31ed22412f6398100517f4f4e119d1aad884beba2a60e57c1e9662c

                 reply	other threads:[~2026-09-16  9:59 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=178955277692.1.9975009487907841675.rpms-ruff-d0293aabb9cd@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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