Great. Yeah, it's quite possible that what you did is exactly what
dechols intended. I know that one way of maintaining a codebase to be
both Python 2.x and 3.x compatible is to keep it 2.x compatible, but
also ensure that running 2to3 over it will produce 3.x-compatible code.
joshuamarbe...@gmail
Jonathan,
I ran the 2to3.py script that comes with the python 3.2 install on the
entire unzipped jenkinsapi folder and then reinstalled the api. It appears
that I can connect to the Jenkins server. Thanks for all your help.
Josh
On Thursday, December 5, 2013 4:54:33 PM UTC-8, joshuam...@gmai
Jonathan,
I got Jenkins api from dechols path and unzipped it. It still didn't
work. So I went through each .py file and changed every except x, y: to
except x as y:. It installed. My script doesn't crash with the line 'import
jenkinsapi' at the top. But, it fails when the line 'from jenkins
Based on the discussion I linked to, it doesn't look like the stable
release of jenkinsapi available via pip or easy_install works with
Python 3.x yet. I would guess that easy_install failed to fully install
jenkinsapi because of 3.x-incompatible code. So, in this case, you will
probably need to ge
I was able to run easy_install to get the Jenkins api and it placed
python_jenkins-0.2.1-py3.2.egg at C:\Python32\Lib\site-packages. I just
found out that the file is some sort of a zip file. I changed the extension
to .zip and unzipped it. I found very little in there though. There was
just an
I don't think you've said exactly what your problem is. Were you not
able to install jenkinsapi? Were you unable to connect to Jenkins using
it? I'm not sure using Python 2.7 is out of the question, since one
script can run another in a subprocess, though I don't know how much of
a hassle that woul
Jonathan,
again thanks for the information. Unfortunately, using python 2.7 is out
of the question. The scripts have to work with our test executive which is
compatible with python 3.2. I will have to go down another avenue to
complete my task unless they have a version of Jenkins api that wo
OK, you are using CPython then. That is the original and official
implementation of Python. As you may know, there are two major branches
of CPython. Python 3.x was intended to make deep, incompatible changes
to improve or fix long-known problems or limitations in 2.x. Therefore,
some code that wor
Jonathan,
thanks for the reply. I do believe I installed the api using easy_install.
Now I'm in the stage trying to verify that the API actually works. The
biggest problem here is I'm still very green to Python. The implementation
I'm running is 3.2 taken from http://www.python.org/download/rel
On Tuesday, December 3, 2013 6:37:46 PM UTC-5, joshuam...@gmail.com wrote:
>
> Hello,
>
> I'm new to Jenkins and use python only to run test scripts on our custom
> test executive. We use Python 3.2 and we wrote software to allow python to
> communicate with our test executive. I'm trying to
Hello,
I'm new to Jenkins and use python only to run test scripts on our custom
test executive. We use Python 3.2 and we wrote software to allow python to
communicate with our test executive. I'm trying to figure out how to
install the Jenkins API for python. First I looked into PIP and came
11 matches
Mail list logo