[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-18 Thread Martin Pitt
There is no such thing like a "version freeze", but we have feature
freeze. Please provide an upstream changelog (URL is sufficient), and
check whether the new upstream version introduces any new features, or
just bugs. If there are new features, please subscribe ubuntu-release.

Either way, of course we should fix that, so please prepare a new
package for testing. Thanks!

** Changed in: python-mechanize (Ubuntu)
   Importance: Undecided => High

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-10 Thread Elliot Murphy
works great as of this morning, thanks ken and pitti!

** Changed in: ubunet
   Status: New => Fix Released

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-10 Thread Launchpad Bug Tracker
This bug was fixed in the package python-mechanize - 0.1.11-0ubuntu1

---
python-mechanize (0.1.11-0ubuntu1) jaunty; urgency=low

  [ Ken VanDine ]
  * New upstream release (LP: #337918)
- Fix quadratic performance in number of .read() calls (and add an
  automated performance test).
- Add support for Python 2.6: Raise URLError on file: URL errors,
  not IOError (port of upstream urllib2 fix).  Add support for
  Python 2.6's per-connection timeouts: Add timeout arguments to
  urlopen(), Request constructor, .open(), and .open_novisit().
- Drop support for Python 2.3
- Add Content-length header to Request object (httplib bug that
  prevented doing that was fixed in Python 2.4).  There's no
  change is what is actually sent over the wire here, just in what
  headers get added to the Request object.
- Fix AttributeError on .retrieve() with a Request (as opposed to
  URL string) argument
- Don't change CookieJar state in .make_cookies().
- Fix AttributeError in case where .make_cookies() or
  .cookies_for_request() is called before other methods like
  .extract_cookies() or .make_cookie_header()
- Fixes affecting version cookie-attribute
  (http://bugs.python.org/issue3924).
- Silence module logging's "no handlers could be found for logger
  mechanize" warning in a way that doesn't clobber attempts to set
  log level sometimes
- Don't use private attribute of request in request upgrade
  handler (what was I thinking??)
- Don't call setup() on import of setup.py
- Add new public function effective_request_host
- Add .get_policy() method to CookieJar
- Add method CookieJar.cookies_for_request()
- Fix documented interface required of requests and responses (and
  add some tests for this!)
- Allow either .is_unverifiable() or .unverifiable on request
  objects (preferring the former)
- Note that there's a new functional test for digest auth, which
  fails when run against the sourceforge site (which is the
  default).  It looks like this reflects the fact that digest auth
  has been fairly broken since it was introduced in urllib2.  I
  don't plan to fix this myself.
- Fix ImportError if sqlite3 not available
- Fix a couple of functional tests not to wait 5 seconds each
- Close sockets.  This only affects Python 2.5 (and later) -
  earlier versions of Python were unaffected.  See
  http://bugs.python.org/issue1627441
- Make title parsing follow Firefox behaviour wrt child
  elements (previously the behaviour differed between Factory and
  RobustFactory).
- Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link
  text parsing for case of link text containing tags (Titus Brown)
- Fix issue where more tags after  caused default parser to
  raise an exception
- Handle missing cookie max-age value.  Previously, a warning was
  emitted in this case.
- Fix thoroughly broken digest auth (still need functional
  test!) (trebor7...@...)
- Handle cookies containing embedded tabs in mozilla format files
- Remove an assertion about mozilla format cookies file
  contents (raise LoadError instead)
- Fix MechanizeRobotFileParser.set_opener()
- Fix selection of global form using .select_form() (Titus Brown)
- Log skipped Refreshes
- Stop tests from clobbering files that happen to be lying around
  in cwd (!)
- Use SO_REUSEADDR for local test server.
- Raise exception if local test server fails to start.
- Tests no longer (accidentally) depend on third-party coverage
  module
- Add convenience method Browser.open_local_file(filename)
- Add experimental support for Firefox 3 cookie jars
  ("cookies.sqlite").  Requires Python 2.5
- Fix a _gzip.py NameError (gzip support is experimental)
  * debian/patches/drop-Gopher.dpatch:
  * removed, fixed upstream

  [ Martin Pitt ]
  * debian/control: Fix XS-Python-Version to only build for Python >= 2.5.

 -- Ken VanDineMon, 09 Mar 2009 16:34:31
-0400

** Changed in: python-mechanize (Ubuntu)
   Status: In Progress => Fix Released

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-10 Thread Martin Pitt
Ah, "XS-Python-Version: >= 2.5" is the secret sauce. I'll keep python-
central then.

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-10 Thread Martin Pitt
OK, I give up; pycentral just doesn't want to understand "2.5 or later",
so I'll apply your move to pysupport.

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-10 Thread Martin Pitt
Thanks, Ken; I'll do some cleanup:

 - You changed pycentral to pysupport; we shouldn't do that, pycentral is 
generally better supported.
 - Your diff.gz has the inverse "gopher removal" patch applied; gopher doesn't 
work any more

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-09 Thread Ken VanDine
Updated diff, removed build req

** Attachment added: "python-mechanize_0.1.11-0ubuntu1.diff.gz"
   
http://launchpadlibrarian.net/23672232/python-mechanize_0.1.11-0ubuntu1.diff.gz

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-09 Thread Ken VanDine
Attached diff

** Attachment added: "python-mechanize_0.1.11-0ubuntu1.diff.gz"
   
http://launchpadlibrarian.net/23672042/python-mechanize_0.1.11-0ubuntu1.diff.gz

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-09 Thread Martin Pitt
http://wwwsearch.sourceforge.net/mechanize/src/ChangeLog.txt (from 1.8
on)

These look okay, mostly bug fixes and a few new functions, plus Python
2.6 compatibility. FF granted.

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-09 Thread Martin Pitt
There is no such thing like a "version freeze", but we have feature
freeze. Please provide an upstream changelog (URL is sufficient), and
check whether the new upstream version introduces any new features, or
just bugs. If there are new features, please subscribe ubuntu-release.

Either way, of course we should fix that, so please prepare a new
package for testing. Thanks!

** Changed in: python-mechanize (Ubuntu)
   Importance: Undecided => High

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-09 Thread Rick Spencer
** Changed in: python-mechanize (Ubuntu)
   Status: New => In Progress

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 337918] Re: python-mechanize doesn't work in python2.6

2009-03-04 Thread Elliot Murphy
ken mentioned on IRC he would be willing to prepare a new package and
propose it, I guess it would also need to go through the process for a
version freeze exception?

** Changed in: python-mechanize (Ubuntu)
 Assignee: (unassigned) => Ken VanDine (ken-vandine)

** Also affects: ubunet
   Importance: Undecided
   Status: New

-- 
python-mechanize doesn't work in python2.6
https://bugs.launchpad.net/bugs/337918
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs