Comments (6)
I hardcoded the version in setup.py. Reading the version from the source file brought us more trouble than solution, so I'll find a better way to do it later.
from sure.
Also happens on python3+.
from sure.
@gabrielfalcao How did you build the package for PyPI?
I fail to reproduce this from the current master
(same for travis).
from sure.
I see the same during pip install
in a venv.
from sure.
I see the same during pip install in a venv.
Using the package from PyPI or from local source?
from sure.
... and if you already happen to have six
in the virtualenv (e.g. from earlier in the requirements.txt), then:
$ pip install sure
Collecting sure
Using cached https://files.pythonhosted.org/packages/b4/63/20dcfbb9ce5e8de5e9377bebee4a80ac0ec431e827d917d5494f58c8ba3f/sure-1.4.10.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-s0wE5o/sure/setup.py", line 79, in <module>
version=read_version(),
File "/tmp/pip-build-s0wE5o/sure/setup.py", line 48, in read_version
exec(file_data, context)
File "<string>", line 33, in <module>
File "sure/__init__.py", line 33, in <module>
from sure.old import AssertionHelper
File "sure/old.py", line 42, in <module>
from sure.core import DeepComparison
File "sure/core.py", line 24, in <module>
from mock.mock import _CallList
ImportError: No module named mock.mock
Using:
- python 2.7.14 (probably doesn't happen with 3)
- pyenv
from sure.
Related Issues (20)
- ReadTheDocs website root url redirects to the wrong destination HOT 5
- BUG sure appears to break @patch.mock in python 3.6 HOT 1
- dicts cannot be checked with equal if key doesn't support < HOT 1
- DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working HOT 1
- 'module' object has no attribute '_CallList' HOT 1
- pylint Instance of 'str' has no 'should' member (no-member) false positive. HOT 2
- Deprecation warning due to invalid escape sequences. HOT 1
- Python 3.10.0a1: FAIL: sure.that_with_context() when no context is given it fails HOT 1
- Language Server Protocol (LSP) support.
- 1.4.11 + master: pytest warnings HOT 2
- python3.10 test failures HOT 1
- Proposing a PR to fix a few small typos HOT 1
- 2.0.0: sphinx warnings HOT 1
- 2.0.0: breaks when using Moto decorator on TestCase class HOT 1
- Dependency Dashboard
- 2.0.0: pytest iuses `nose` module which is deprecated
- python 2.7 breakage HOT 1
- Introduction of pyproject.toml
- RFE: find `couleur` replacement
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 sure.