Comments (3)
Original comment by @hpk42
did you verify this works nicely with python2.5 through to py33?
from execnet.
Original comment by @alfredodeza
I just ran the complete set of tests (it seems 2.5 was dropped) and it all passes with the new way of importing on __init__
I had to change spaces for tabs on testing/conftest.py
as you will see in the diff below.
#!
(execnet)papaya[default] ~/python/execnet ᓆ hg diff .
diff -r 758758defb6d execnet/__init__.py
--- a/execnet/__init__.py Tue Dec 03 10:19:46 2013 +0100
+++ b/execnet/__init__.py Wed Dec 04 09:04:01 2013 -0500
@@ -5,9 +5,9 @@
"""
__version__ = '1.2.0.dev1'
-import execnet.apipkg
+from . import apipkg
-execnet.apipkg.initpkg(__name__, {
+apipkg.initpkg(__name__, {
'PopenGateway': '.deprecated:PopenGateway',
'SocketGateway': '.deprecated:SocketGateway',
'SshGateway': '.deprecated:SshGateway',
diff -r 758758defb6d testing/conftest.py
--- a/testing/conftest.py Tue Dec 03 10:19:46 2013 +0100
+++ b/testing/conftest.py Wed Dec 04 09:04:01 2013 -0500
@@ -175,7 +175,7 @@
def execmodel(request):
if request.param != "thread":
pytest.importorskip(request.param)
- if sys.platform == "win32":
+ if sys.platform == "win32":
pytest.xfail("eventlet/gevent do not work onwin32")
return get_execmodel(request.param)
(execnet)papaya[default] ~/python/execnet ᓆ detox
GLOB sdist-make: /Users/alfredo/python/execnet/setup.py
pypy create: /Users/alfredo/python/execnet/.tox/pypy
flakes inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py26 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py27 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py32 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py33 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
flakes runtests: commands[0] | py.test -m flakes --flakes execnet testing
py27 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py27/log/junit-py27.xml
py32 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py32/log/junit-py32.xml
py33 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py33/log/junit-py33.xml
py26 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py26/log/junit-py26.xml
pypy installdeps: pytest, pytest-timeout
pypy inst: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
pypy runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/pypy/log/junit-pypy.xml
__________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________
py26: commands succeeded
py27: commands succeeded
py32: commands succeeded
py33: commands succeeded
pypy: commands succeeded
flakes: commands succeeded
congratulations :)
from execnet.
Original comment by @hpk42
if i see it correctly, due to your PR this is now fixed.
from execnet.
Related Issues (20)
- UnicodeEncodeError when source-path includes a special character HOT 5
- Testing with Python 3.9.15 raises PytestUnraisableExceptionWarning HOT 2
- PytestConfigWarning: Unknown config option: rsyncdirs
- AttributeError: 'ChannelFileWrite' object has no attribute 'encoding' HOT 3
- Please make a new release HOT 7
- Discovering the child pid of a popen gateway HOT 3
- add support for dotenv=somefile to load a dotenv file using the dotenv library to get environment variables
- test_rsync uses obsolete @py.test.mark HOT 3
- EncodingWarning when PYTHONWARNDEFAULTENCODING=1 HOT 1
- Release 2.0.0 HOT 5
- Docs and tests missing from sdist since 2.0.0 HOT 2
- Record of old ISSUES.txt
- 2.0.1: sdist is missing tox.ini
- RTD docs outdated
- Feature - Provide pickle as a solution to serialize non-builtin or supported types. HOT 1
- Gateway instantly closed when connect to Jython 2.5.1 HOT 2
- The error is not being catched HOT 1
- pyinstaller support HOT 16
- FYI type for Python2 strings unserialization changed with 2.1.0 HOT 3
- Exception ignored in atexit callback / RuntimeError: can't create new thread at interpreter shutdown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from execnet.