public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/emacs-jedi] f44: Update to latest snapshot
@ 2026-06-26 23:48 Mohamed El Morabity
  0 siblings, 0 replies; only message in thread
From: Mohamed El Morabity @ 2026-06-26 23:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/emacs-jedi
Branch : f44
Commit : a820b59761730c40736205462d33862f18e2eb66
Author : Mohamed El Morabity <melmorabity@fedoraproject.org>
Date   : 2026-06-27T01:45:48+02:00
Stats  : +43/-15 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/emacs-jedi/c/a820b59761730c40736205462d33862f18e2eb66?branch=f44

Log:
Update to latest snapshot

---
diff --git a/.gitignore b/.gitignore
index 947eb00..b3c84f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /emacs-jedi-0.2.8.tar.gz
 /emacs-jedi-e942a0e.tar.gz
+/emacs-jedi-94a031d.tar.gz

diff --git a/emacs-jedi-0.3.0-python-3.15_tests.patch b/emacs-jedi-0.3.0-python-3.15_tests.patch
new file mode 100644
index 0000000..fa43d91
--- /dev/null
+++ b/emacs-jedi-0.3.0-python-3.15_tests.patch
@@ -0,0 +1,18 @@
+--- ./test_jediepcserver.py.orig	2026-06-27 00:57:04.696559335 +0200
++++ ./test_jediepcserver.py	2026-06-27 00:57:10.853875276 +0200
+@@ -158,10 +158,14 @@ def test_complete_with_multiple_virtuale
+     venv2 = create_venv('other-env')
+     handler = jep.JediEPCHandler(virtual_envs=[venv1, venv2])
+     result = handler.complete(*params)
++    assert len(result) == 1
++    assert result[0].pop('doc') in {
++        'chdir(path: _FdOrAnyPath) -> None',
++        'chdir(path: FileDescriptorOrPath) -> None',
++    }
+     assert result == [
+         {
+             'word': 'chdir',
+-            'doc': 'chdir(path: _FdOrAnyPath) -> None',
+             'description': 'def chdir',
+             'symbol': 'f',
+         },

diff --git a/emacs-jedi.spec b/emacs-jedi.spec
index e29c7e1..1070bc1 100644
--- a/emacs-jedi.spec
+++ b/emacs-jedi.spec
@@ -1,12 +1,12 @@
 %global pkg jedi
 
-%global commit e942a0e410cbb2a214c9cb30aaf0e47eb0895b78
+%global commit 94a031d54c55d22aa36ad557f45c972cb3f5833b
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20210503
+%global commitdate 20250602
 
 Name:           emacs-%{pkg}
-Version:        0.3.0
-Release:        0.18.%{commitdate}git%{shortcommit}%{?dist}
+Version:        0.3.0~%{commitdate}git%{shortcommit}
+Release:        1%{?dist}
 Summary:        Python auto-completion for Emacs
 
 # Automatically converted from old format: GPLv3+ - review is highly recommended.
@@ -18,6 +18,8 @@ Source1:        %{pkg}-init.el
 Patch0:         %{name}-0.3.0-python_requires.patch
 # Invoke system jediepcserver
 Patch1:         %{name}-0.2.8-jediepcserver.patch
+# Fix tests with Python 3.15
+Patch2:         %{name}-0.3.0-python-3.15_tests.patch
 
 BuildRequires:  emacs
 BuildRequires:  emacs-auto-complete
@@ -91,6 +93,9 @@ export PYTEST_ADDOPTS="--deselect=test_jediepcserver.py::test_epc_server_runs_fi
 
 
 %changelog
+* Fri Jun 26 2026 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.3.0~20250602git94a031d-1
+- Update to latest snapshot
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.18.20210503gite942a0e
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/jedi-init.el b/jedi-init.el
index 63d5d27..f711d2f 100644
--- a/jedi-init.el
+++ b/jedi-init.el
@@ -8,17 +8,19 @@ of `jedi:setup', like this::
 
 Note that this function calls `auto-complete-mode' if it is not
 already enabled, for people who don't call `global-auto-complete-mode'
-in their Emacs configuration." t nil)
+in their Emacs configuration." t)
 
 (autoload 'jedi:complete "jedi" "\
 Complete code at point.
 
-\(fn &key (EXPAND ac-expand-on-auto-complete))" t nil)
+\(fn &key (EXPAND ac-expand-on-auto-complete))" t)
 
-(autoload 'jedi:auto-complete-mode "jedi" nil nil nil)
+(autoload 'jedi:auto-complete-mode "jedi")
 
 (setq jedi:setup-function #'jedi:ac-setup jedi:mode-function #'jedi:auto-complete-mode)
 
+(register-definition-prefixes "jedi" '("jedi:"))
+
 (autoload 'jedi:start-dedicated-server "jedi-core" "\
 Start Jedi server dedicated to this buffer.
 This is useful, for example, when you want to use different
@@ -31,13 +33,13 @@ per-buffer/per-project basis, make `jedi:server-command' and
 `jedi:server-args' buffer local and set it in `python-mode-hook'.
 See also: `jedi:server-args'.
 
-\(fn COMMAND)" t nil)
+\(fn COMMAND)" t)
 
 (autoload 'helm-jedi-related-names "jedi-core" "\
-Find related names of the object at point using `helm' interface." t nil)
+Find related names of the object at point using `helm' interface." t)
 
 (autoload 'anything-jedi-related-names "jedi-core" "\
-Find related names of the object at point using `anything' interface." t nil)
+Find related names of the object at point using `anything' interface." t)
 
 (autoload 'jedi:setup "jedi-core" "\
 Fully setup jedi.el for current buffer.
@@ -50,7 +52,7 @@ like this::
        (add-hook 'python-mode-hook 'jedi:setup)
 
 You can also call this function as a command, to quickly test
-what jedi can do." t nil)
+what jedi can do." t)
 
 (autoload 'jedi:install-server "jedi-core" "\
 This command installs Jedi server script jediepcserver.py in a
@@ -90,10 +92,12 @@ location.
 See also:
 
 - https://github.com/tkf/emacs-jedi/pull/72
-- https://github.com/tkf/emacs-jedi/issues/140#issuecomment-37358527" t nil)
+- https://github.com/tkf/emacs-jedi/issues/140#issuecomment-37358527" t)
 
 (autoload 'jedi:reinstall-server "jedi-core" "\
-Reinstall Jedi server script jediepcserver.py." t nil)
+Reinstall Jedi server script jediepcserver.py." t)
 
 (autoload 'jedi:install-server-block "jedi-core" "\
-Blocking version `jedi:install-server'." nil nil)
+Blocking version `jedi:install-server'.")
+
+(register-definition-prefixes "jedi-core" '("jedi"))

diff --git a/sources b/sources
index f1f02c7..ea93957 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (emacs-jedi-e942a0e.tar.gz) = 1ed7f87dd8c304c70ffaa21d9d0efa1a23e42e03439dc2b77c1835b2ef323a8aedef11572c4af0eb305ed98912e4ccb9a433f72fe1a4a92a3cf26e445861a15b
+SHA512 (emacs-jedi-94a031d.tar.gz) = 5f93533cd197adc82c25cf35633fe7849b1ab675c2328c215e07aac9275bf8b4c558b953260d107c23192a21352f5206213653210b1e6198e63880a61be25877

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-26 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26 23:48 [rpms/emacs-jedi] f44: Update to latest snapshot Mohamed El Morabity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox