question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package is out of date, doesn't work with python 3

See original GitHub issue

It looks like you all added python 3 support with this commit: https://github.com/guilhermechapiewski/simple-db-migrate/commit/8e721493aceb5b79d8e4f5edf24bf39608ab855d

However, when I install the package with pip, it looks like this code is not present.

Downloading simple-db-migrate-2.2.0.tar.gz (41kB)
  Complete output from command python setup.py egg_info:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-udo31o1j/simple-db-migrate/setup.py", line 2, in <module>
      import simple_db_migrate
    File "/tmp/pip-build-udo31o1j/simple-db-migrate/simple_db_migrate/__init__.py", line 95
      except Exception, e:
                      ^
  SyntaxError: invalid syntax

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
wandenbergcommented, Feb 16, 2017

@tarun29061990 the python3 branch was already merged on master and released to pypi. Update your requirements.txt. I will close this issue now.

0reactions
tarun29061990commented, Feb 16, 2017

Facing this while doing pip install -r requirements.txt

Collecting git+https://github.com/guilhermechapiewski/simple-db-migrate@python3 (from -r requirements.txt (line 17))
  Cloning https://github.com/guilhermechapiewski/simple-db-migrate (to python3) to /private/var/folders/39/9z35vs0x5f38l9l3w6y9kcth0000gp/T/pip-cq1g9e55-build
  Could not find a tag or branch 'python3', assuming commit.
error: pathspec 'python3' did not match any file(s) known to git.
Command "git checkout -q python3" failed with error code 1 in /private/var/folders/39/9z35vs0x5f38l9l3w6y9kcth0000gp/T/pip-cq1g9e55-build
Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Pip lists package as outdated but updating results in ...
Yes, this is happening because pip is not updating your package in the site-packages and that's why when you do pip list --outdated...
Read more >
datetime — Basic date and time types — Python 3.11.1 ...
The datetime module supplies classes for manipulating dates and times. While date and time arithmetic is supported, the focus of the implementation is...
Read more >
Using Python datetime to Work With Dates and Times
Have you ever wondered about working with dates and times in Python? In this tutorial, you'll learn all about the built-in Python datetime...
Read more >
How to Update All Python Packages - ActiveState
Update all Python Packages on Windows · Open a command shell by typing 'powershell' in the Search Box of the Task bar ·...
Read more >
When should you upgrade to Python 3.11?
The problems with a new major Python release · 1. Missing binary packages · 2. Incompatible packages · 3. Conda support · 5....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found