Skip to content

Commit

Permalink
Made 'importlib_metadata' always being installed for PyLance
Browse files Browse the repository at this point in the history
When working with Python >= 3.8 PyLance fails to pick up the proper types, since it always uses the last last definition of a symbol.
See microsoft/pyright#1358
  • Loading branch information
s-weigand committed Feb 19, 2021
1 parent 41f7e2e commit 1238763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wheel>=0.33.6
# runtime requirements
# pinned so the bot can create PRs to test with new versions
Click==7.1.2
importlib_metadata==3.4.0;python_version < '3.8'
importlib_metadata==3.4.0

# quality asurence
black>=19.10b0
Expand Down

0 comments on commit 1238763

Please sign in to comment.