Hi Chris,
jmf wrote:
- I gave up with this feature and do no more implement a version
selection in my code.
I do you it less than I used to -- the days of change in the 2.5 series really called for it!
- To summurize: PLEASE, LET ME SELECT THE WXPYTHON 2.8.N I WISH
I totally agree. I really miss this.
... and do not tell me a 2.2m.n+1 is just a debugged release of a 2.2m.n,
they are just too different.
Well, in theory, they are, but when a new release comes out (particularly a pre-release), I like to be able to test it easily, without breaking any existing running code.
Why do you have to break existing code to test?
Christian K wrote:
why do you want to create software which depends on the minor version number?
I don't, but I do want to test software that way. You can always leave off the third version number if you don't want to, which is what I'd always do with anything I release (or even use in "production" mode my self).
Key is that the third digit has always been optional -- but why remove functionality?
Kevin Ollivier wrote:
What you're asking for is a way to ignore bugs in later versions of
a stable release series, but I really don't think we should make that super easy to do, because I think wxPython would be a lot better off if people reported bugs when they found them so that we could once again have the stable releases working as expected.
But having this option makes it EASIER to test, therefor I'll be more likely to do it, and we'll find regressions more quickly.
I wouldn't find it easier given the number of apps/scripts I work with, but regardless, the real issue is that this method can be confusing; if you install the latest pre-release but forget to update your wxversion.select statements accordingly, you'll *think* you're testing the pre-release when actually you're "testing" the last official release (or whatever 2.8 release you've selected). How can you guarantee that won't happen?
And what about a tester who doesn't realize the script(s) s/he is testing call wxversion.select? You really don't think that people would run those scripts (e.g. Boa, DrPython, etc.) and report that they pass tests, all the while not realizing there's a 'wxversion.select('2.8.3.0') in there?
I see why you'd be interested in doing this, but I think there's a real potential for problems being caused by this, and I think there are other ways to address the issue.
For example, if you're concerned about being set back on your project due to a pre-release breaking your apps, set up a "clean room" environment - e.g. a user account, virtual machine, etc. that is setup just to test, and just always install the latest pre-release on that user account. Switch to that account when you want to test, and then switch back to your "deployment" environment when you want to go back to 'regular work'. It will just take a moment. This way you can always evaluate any upgrade before committing to it, and if it does break something, you can just note (or report) that and re-evaluate the new version (or figure out how to fix your app to work with the new version) at your leisure. It's true that wouldn't work well on OS X (thanks to the hardcoded system install paths), but on Windows it should be as simple as using a different dir to install the 'test' Python into. On OS X, if we could figure out how to install wxPython to a different location, you could use DYLD_LIBRARY_PATH and PYTHONPATH to switch on/switch off, which IMHO would be quite easy and a one-time thing.
Personally, I think installing a new version on your deployment setup isn't technically testing - it's upgrading. You should never do that unless you're prepared to deal with any breakage that ensues.
Regards,
Kevin
···
On May 23, 2007, at 9:58 AM, Christopher Barker wrote:
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org