Re: [python-committers] [Infrastructure] test suite dependencies on www.python.org
On Mon, 18 Mar 2013 15:17:23 -0700, Noah Kantrowitz <noah@coderanger.net> wrote:
As part of the PyCon sprints I would like to move python.org off dinsdale to a VM at OSL. Due to the build system being tied to SVN, I'll also migrate that service on the same VM. Do any SVN repos other than www/ need to remain available? This would require at least some period of not changing the website, probably a few hours, but I don't think that would be a problem. This is mostly a legacy move so I'm not going to clean it up much, we'll have a new site soon enough.
While working on tests at the sprint I was reminded that there are various tests in the Python standard library that depend on resources in specific resources in specific locations at python.org. We will need a plan for finding and dealing with these before (or as?) the new web site is turned up.
Example:
request = urllib.request.Request("http://www.python.org/~jeremy/")
And then there are things like:
h = client.HTTPSConnection('svn.python.org', 443, context=context)
I don't think there are a huge number of these, but we will need to deal with them.
--David
On Tue, Mar 19, 2013 at 8:27 PM, R. David Murray <rdmurray@bitdance.com> wrote:
While working on tests at the sprint I was reminded that there are various tests in the Python standard library that depend on resources in specific resources in specific locations at python.org. We will need a plan for finding and dealing with these before (or as?) the new web site is turned up.
Example:
request = urllib.request.Request("http://www.python.org/~jeremy/")
And then there are things like:
h = client.HTTPSConnection('svn.python.org', 443, context=context)
Tests which are accessible over HTTP can still remain the same, for others, I shall look for alternatives. But yeah, these tests (or potential test failures) should not be be a blocker for the Infrastructure team.
Thanks, Senthil
Am 20.03.13 04:27, schrieb R. David Murray:
Example:
request = urllib.request.Request("http://www.python.org/~jeremy/")
And then there are things like:
h = client.HTTPSConnection('svn.python.org', 443, context=context)
I don't think there are a huge number of these, but we will need to deal with them.
In the past, we just let them break and then fix the test case, which is not the best solution, but also not overly tragic (IMO).
Note that the redesign project includes an objective of URL stability. The test suite is here of least concern, as there are thousands of incoming links to various pages. These need to be preserved as much as feasible (possibly using redirects).
Regards, Martin
participants (3)
-
"Martin v. Löwis"
-
R. David Murray
-
Senthil Kumaran