public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mohamed El Morabity <melmorabity@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/emacs-jedi] rawhide: Update to latest snapshot
Date: Fri, 26 Jun 2026 23:40:04 GMT [thread overview]
Message-ID: <178251720495.1.14544015106623974539.rpms-emacs-jedi-31acdb49796e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/emacs-jedi
Branch : rawhide
Commit : 31acdb49796e6ab73238fc5511547400934dc527
Author : Mohamed El Morabity <melmorabity@fedoraproject.org>
Date : 2026-06-27T01:37:23+02:00
Stats : +43/-15 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/emacs-jedi/c/31acdb49796e6ab73238fc5511547400934dc527?branch=rawhide
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 0aa5b64..666abee 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.19.%{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
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.3.0-0.19.20210503gite942a0e
- Rebuilt for Python 3.15
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
reply other threads:[~2026-06-26 23:40 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=178251720495.1.14544015106623974539.rpms-emacs-jedi-31acdb49796e@fedoraproject.org \
--to=melmorabity@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