Code Monkey home page Code Monkey logo

apistar_alembic_migrations's Issues

typing module does not yet have `NoReturn` (py3.6.1)

When trying to run initialize I get the following error:

(venv) chases-iMac:weather chase$ apistar initialize
Traceback (most recent call last):
  File "/Users/chase/workspace/newrelic-weather-challenge/venv/bin/apistar", line 11, in <module>
    load_entry_point('apistar==0.3.9', 'console_scripts', 'apistar')()
  File "/Users/chase/workspace/newrelic-weather-challenge/venv/lib/python3.6/site-packages/apistar/__init__.py", line 31, in main
    app = get_current_app()
  File "/Users/chase/workspace/newrelic-weather-challenge/venv/lib/python3.6/site-packages/apistar/__init__.py", line 46, in get_current_app
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "app.py", line 4, in <module>
    from apistar_alembic_migrations import commands
  File "/Users/chase/workspace/newrelic-weather-challenge/venv/lib/python3.6/site-packages/apistar_alembic_migrations/__init__.py", line 2, in <module>
    from typing import NoReturn, Callable
ImportError: cannot import name 'NoReturn'

This was only recently added to the typing library. It would be nice to add < py3.6.2 compatibility (not sure if it landed in .2 or .3).

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.