Comments (6)
The tox test configuration requires you to have present Python 2.6, 2.7, 3.3 and pypy. It will fail with startup problems like what you see if you don't have all of them.
Try running just:
tox -e py27-without-extensions
and restrict it to running with Python 2.7 and without trying to compile the C extensions.
Overall, am not too concerned if tox tests don't run on Windows as any problem is more likely to be due to Windows and Python availability/environments.
from wrapt.
Yep, this is how I ran the test.
from wrapt.
What it seems to come down to is that the pip/tox installation is broken and doesn't work under Windows or it is picking up some configuration which is making it want to try and do:
pip install c:\Program
I suspect it is simply an issue with tox not working on Windows, with it not quoting the path it picks up the package created from the local source code when trying to is install it.
With all the changes to pip of late, it is very day to get a bad combination of pip/tox versions.
I would suggest uninstalling tox and then run:
pip install -U pip
pip install tox
and try again.
from wrapt.
I tried and got the same error:
InvalidSchema: No connection adapters were found for 'c:\Program'
I found easy_install works better than pip on windows for updating pip. pip fails to update itself but easy_install updated it to 1.5.4 for me.
easy_install -U pip
from wrapt.
Can you get tox running separately of wrapt?
Create an empty directory and in that create a tox.ini file with nothing in it.
Create a setup.py file containing:
from setuptools import setup
setup(name='xxx')
Create a test_hello.py file containing:
def test_hello():
pass
Then run 'tox'.
This will tell you if tox even works on Windows.
from wrapt.
No further feedback. Testing works fine on UNIX. No idea about Windows and no way to test myself.
from wrapt.
Related Issues (20)
- Use of ObjectProxy with type() HOT 10
- Methods of proxied objects are bound to the original object, not the proxy HOT 4
- PySide6 behaves differently between decorated and non-decorated function HOT 16
- Idea: Sticky/Viral ObjectProxy HOT 3
- ObjectProxy does not play well with GenericAlias, such as isinstance(proxy, Dict) HOT 12
- RFE: is it possible to start making github releases?🤔 HOT 2
- Publish cp312 wheel HOT 6
- Release 1.14.1 Py3.11 wheels HOT 7
- __doc__ property HOT 9
- Request to be able to import both py and c wrappers HOT 8
- Unable to install wrapt 1.14.1 via poetry HOT 2
- Accessing ObjectProxy __dict__ HOT 5
- Update to setup.cfg potentially required HOT 4
- Documentation isn't building? HOT 6
- Best way to associate some data with `ObjectProxy`? HOT 3
- Accessing a class attribute that is a wrapt wrapped function will try and bind the function. HOT 4
- pydevd error when debugging with wrapt HOT 28
- Add type hint annotations for user-facing code HOT 2
- classmethod tests fail with Python 3.13 (Python reverted to pre-3.9 behavior) HOT 2
- 1.16.0: pytest fails
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 wrapt.