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.

Outdated code in pip package

See original GitHub issue

I’m having trouble using SwaggerView class getting the following error: TypeError: schema2parameters() missing 1 required keyword-only argument: 'location'. This is an issue already resolved, see it in #436.

I’m using the latest version (0.9.5) and checking the code downloaded by pip, the code is outdated without this fix. But when I download the package by github, like pip install https://github.com/rochacbruno/flasgger/tarball/master the code is the correct.

What is happening? 🤔 🤯

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
zliebersbachcommented, Dec 15, 2021

I ran into many errors (including this one) when using the package directly from pip! Appalling.

Anyway, here are the packages versions I found to work together:

apispec~=3.3.2
flasgger~=0.9.5
Flask~=2.0.2
Flask-RESTful~=0.3.9
marshmallow~=3.12.2
2reactions
austinbutlercommented, Dec 7, 2021

Basically I think what you are asking for is a new release.

Typically what gets pushed to PyPi is a release, not every commit of the master branch. Your issue is resolved on the master branch, but the current release is v0.9.5, which is over a year old now. I’d also like to see a new release for the same fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check if a version of a PyPI package is outdated - GitHub
is_outdated is a boolean which is True if the given version is earlier than the latest version, which is the string latest_version ....
Read more >
pip-outdated - PyPI
This tool compares the version number with the version specifier in requirements.txt or setup.cfg. If you just want to list all updatable package,...
Read more >
How can I safely check if a python package is outdated?
To show the outdated packages you can simply run pip list -o , but that doesn't involve any caching by itself. Although it...
Read more >
Find outdated/updatable pip packages - Super User
Since version 1.3, pip features a new command: $ pip list --outdated requests (Current: 1.1.0 Latest: 1.2.0). See this post for more information....
Read more >
How to check outdated Python libraries with pip command
This is something many people don't think about - upgrade your outdated Python libraries or packages. More often than not, you installed a ......
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