Comments (8)
What does the "-1" in python-mechanize-0.2.4-1.fc14.src.rpm mean? Does that mean that patches have been applied?
Can you try running the tests with the --log-server option? :
python test.py --log-server
from mechanize.
No patches.
New build log with --log-server:
http://koji.fedoraproject.org/koji/getfile?taskID=2699669&name=build.log
from mechanize.
Thanks. Does changing this line in MANIFEST.in:
recursive-include test-tools *.py
to this:
recursive-include test-tools *.py *.cgi
fix it for you? I'm slightly puzzled why this wasn't picked up at mechanize release time since the release script runs easy_install and then runs the tests on that installed copy of mechanize using a clean sys.path environment...
from mechanize.
It seems not work.
from mechanize.
So did you check why the .cgi still isn't there?
from mechanize.
I include the .cgi file from the git repo to the source tree, then all tests go through now.
from mechanize.
Include cookietest.cgi in source distribution
Add a test run to release script to catch mistakes in MANIFEST.in re test files.
Closed by 9b19a6f
from mechanize.
Oh, I see: my release tests test against mechanize installed using easy_install. I don't install the tests, and I can't just add them to sys.path without adding the "uninstalled" mechanize module to sys.path a second time (there should be an extra directory level there to allow that). So the script copies the test dependencies to a new directory -- but it copies them from the tagged build source, not from the code that was just installed.
I added a new test run to cover that, which just unpacks the tarball and runs test.py. Oddly, though the new test run fails with mechanize-0.2.4.tar.gz, if I make a new tarball with the old MANIFEST.in it passes, because the .cgi is there, despite not being listed in the MANIFEST.in! I'm just putting that down to distutils weirdness, and I've added *.cgi to the MANIFEST.in anyway, for luck ;-)
from mechanize.
Related Issues (20)
- _form.py have an error
- HTML5 element not visible
- Updating referer in case of URL redirection
- ImportError HOT 2
- ParseError: OPTION outside of SELECT if there is <option> tag somewhere inside <script> tag
- urllib2.URLError: <urlopen error no host given> HOT 1
- Does this mechanize poke private implementation of socket.py?
- open response in browser after submit forms
- Mechanize parses <script> contents with bad results HOT 1
- Incorrect textarea CRLF normalization when parsing chunks.
- add_file with image/gif file
- Python Mechanize can no longer log into Amazon.com
- mechanize giving ssl errors
- Plan ongoing support for this library or mark it deprecated here & on PyPI HOT 11
- Authorization with NTLM getting AttributeError: HTTPResponse instance has no attribute '__iter__' HOT 2
- socket.error: [Errno 54] Connection reset by peer on very specific case
- browser.submit() randomly stucks forever without throwing an exception
- clean uninstallation
- Support Python 3 HOT 4
- Fake socket is not compatible with PyPy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mechanize.