473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

A service for testing Python code on multiple platforms and versions

Hopefully a service like this already exists and I just haven't found
it yet. If not it could be an idea for some kind soul(s) to pick up
and run with ;-)

As someone who writes and releases Python modules for the community, I
find it difficult to have a decent level of confidence in the efficacy
of my code on platforms and Python versions other than those that I
own or use regularly. My documentation states that I support Python
2.3 or higher. This ends up being more of a statement of good
intentions than a one of fact.

A case in point. A bug (in Python), that I believed to have been
killed off after Python 2.2, resurfaced in a 2.4.x release of Python
on PowerPC recently. As I don't own any PowerPC kit, it was very
difficult to a) investigate the bug and b) create an effective fix for
it in a timely fashion. Fortunately I'd come across it before so the
fix was easy but it might not have been.

While I realise one's code can never be perfect, you can cover for
these sorts of eventualities fairly easily by running your software
and unit tests under different environments. You'd also like to be
able to do this on a continual basis rather than just once or twice.
If this was done with some kind of automated testing and reporting so
much the better. Bigger projects that take code quality seriously
probably already have this sort of thing in place for their own
purposes, but for smaller ones it just isn't possible.

Wouldn't it be great to have a service/setup out there available for
Python developers to access that covered a fairly broad base of
possible Python installations for the purpose of improve overall code
quality? Am I the only one that would find something like this useful?

Dave M.
Sep 13 '08 #1
3 1124
David Moss wrote:
Hopefully a service like this already exists and I just haven't found
it yet. If not it could be an idea for some kind soul(s) to pick up
and run with ;-)

As someone who writes and releases Python modules for the community, I
find it difficult to have a decent level of confidence in the efficacy
of my code on platforms and Python versions other than those that I
own or use regularly. My documentation states that I support Python
2.3 or higher. This ends up being more of a statement of good
intentions than a one of fact.

A case in point. A bug (in Python), that I believed to have been
killed off after Python 2.2, resurfaced in a 2.4.x release of Python
on PowerPC recently. As I don't own any PowerPC kit, it was very
difficult to a) investigate the bug and b) create an effective fix for
it in a timely fashion. Fortunately I'd come across it before so the
fix was easy but it might not have been.

While I realise one's code can never be perfect, you can cover for
these sorts of eventualities fairly easily by running your software
and unit tests under different environments. You'd also like to be
able to do this on a continual basis rather than just once or twice.
If this was done with some kind of automated testing and reporting so
much the better. Bigger projects that take code quality seriously
probably already have this sort of thing in place for their own
purposes, but for smaller ones it just isn't possible.

Wouldn't it be great to have a service/setup out there available for
Python developers to access that covered a fairly broad base of
possible Python installations for the purpose of improve overall code
quality? Am I the only one that would find something like this useful?
I would love to have such a tool, but have no idea how to create
something like that.
Something like a multi-virtual machine on a web server, that you launch
in the night,
and in the morning you would get a full report of all problems on the
specific OSs
(probably someone is going to say that this is impossible, but
fortunately I'm not hindered by any knowledge ;-)

cheers,
Stef
Dave M.
--
http://mail.python.org/mailman/listinfo/python-list
Sep 13 '08 #2

DavidAs someone who writes and releases Python modules for the community, I
Davidfind it difficult to have a decent level of confidence in the efficacy
Davidof my code on platforms and Python versions other than those that I
Davidown or use regularly. My documentation states that I support Python
David2.3 or higher. This ends up being more of a statement of good
Davidintentions than a one of fact.

How about Buildbot? Here are some Python examples:

http://www.python.org/dev/buildbot/

And the Buildbot home page:

http://buildbot.net/trac

Skip
Sep 13 '08 #3

StefSomething like a multi-virtual machine on a web server, that you
Steflaunch in the night, and in the morning you would get a full
Stefreport of all problems on the specific OSs (probably someone is
Stefgoing to say that this is impossible, but fortunately I'm not
Stefhindered by any knowledge ;-)

You could run Buildbot on a bunch of virtual machines on your computer
(assuming your computer is x86 and its OS is supported by something like
Sun's VirtualBox or VMWare's offerings).

Skip

Sep 13 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: dmbkiwi | last post by:
I am new to this group, and relatively new to python programming, however, have encountered a problem I just cannot solve through reading the documentation, and searching this group on google. I...
35
by: Michael Kearns | last post by:
I've been using python to write a simple 'launcher' for one of our Java applications for quite a while now. I recently updated it to use python 2.4, and all seemed well. Today, one of my...
191
by: Xah Lee | last post by:
Software Needs Philosophers by Steve Yegge, 2006-04-15. Software needs philosophers. This thought has been nagging at me for a year now, and recently it's been growing like a tumor. One...
23
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside...
69
by: Edward K Ream | last post by:
The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility,...
17
by: Adam Olsen | last post by:
As was seen in another thread, there's a great deal of confusion with regard to surrogates. Most programmers assume Python's unicode type exposes only complete characters. Even CPython's own...
48
by: Yves Dorfsman | last post by:
On UNIX, some people use #!/usr/bin/env python While other use #!/usr/bin/python Why is one preferred over the other one ? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.