Git Product home page Git Product logo

Comments (6)

gabrielfalcao avatar gabrielfalcao commented on June 10, 2024 1

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.

barboteur avatar barboteur commented on June 10, 2024

Also happens on python3+.

from sure.

timofurrer avatar timofurrer commented on June 10, 2024

@gabrielfalcao How did you build the package for PyPI?
I fail to reproduce this from the current master (same for travis).

from sure.

jstephenson avatar jstephenson commented on June 10, 2024

I see the same during pip install in a venv.

from sure.

timofurrer avatar timofurrer commented on June 10, 2024

I see the same during pip install in a venv.

Using the package from PyPI or from local source?

from sure.

frnhr avatar frnhr commented on June 10, 2024

... 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.