You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2023/04/14 11:35:52 UTC

[qpid-python] branch main updated (47a68f1 -> 8a23065)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-python.git


    from 47a68f1  QPID-8631: use `next()` to progress the iterator in dom.py, so that setup.py runs
     new 6d96be6  QPID-8631: make package version string in setup.py compliant with PEP-440
     new 8a23065  QPID-8631: `qpid_tests` also need `absolute_import` from `__future__` and fix relative imports

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 qpid_tests/__init__.py            |  3 ++-
 qpid_tests/broker_1_0/__init__.py | 11 ++++++-----
 setup.py                          |  2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[qpid-python] 02/02: QPID-8631: `qpid_tests` also need `absolute_import` from `__future__` and fix relative imports

Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-python.git

commit 8a23065e46fefa3076c89c7d0a31bd30194afec1
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Tue Apr 11 14:16:13 2023 +0200

    QPID-8631: `qpid_tests` also need `absolute_import` from `__future__` and fix relative imports
---
 qpid_tests/__init__.py            |  3 ++-
 qpid_tests/broker_1_0/__init__.py | 11 ++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/qpid_tests/__init__.py b/qpid_tests/__init__.py
index 0459ace..5477007 100644
--- a/qpid_tests/__init__.py
+++ b/qpid_tests/__init__.py
@@ -19,4 +19,5 @@
 # under the License.
 #
 
-import broker_1_0, broker_0_10, broker_0_9, broker_0_8
+from __future__ import absolute_import
+from . import broker_1_0, broker_0_10, broker_0_9, broker_0_8
diff --git a/qpid_tests/broker_1_0/__init__.py b/qpid_tests/broker_1_0/__init__.py
index b14bb96..4d6a345 100644
--- a/qpid_tests/broker_1_0/__init__.py
+++ b/qpid_tests/broker_1_0/__init__.py
@@ -19,8 +19,9 @@
 # under the License.
 #
 
-from general import *
-from legacy_exchanges import *
-from selector import *
-from translation import *
-from tx import *
+from __future__ import absolute_import
+from .general import *
+from .legacy_exchanges import *
+from .selector import *
+from .translation import *
+from .tx import *


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[qpid-python] 01/02: QPID-8631: make package version string in setup.py compliant with PEP-440

Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-python.git

commit 6d96be653dc5d3fe576c82101be33eb714aa6211
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Fri Apr 14 11:33:07 2023 +0200

    QPID-8631: make package version string in setup.py compliant with PEP-440
    
    Contemporary versions of setuptools and pip will bork at misformatted version strings and refuse to install the package
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 92f4c96..d95b561 100755
--- a/setup.py
+++ b/setup.py
@@ -300,7 +300,7 @@ class install_lib(_install_lib):
 scripts = ["qpid-python-test", "qpid-python-test.bat"]
 
 setup(name="qpid-python",
-      version="1.38.0-SNAPSHOT",
+      version="1.38.0.dev0+SNAPSHOT",
       author="Apache Qpid",
       author_email="users@qpid.apache.org",
       packages=["mllib", "qpid", "qpid.messaging", "qpid.tests",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org