Flask-User icon indicating copy to clipboard operation
Flask-User copied to clipboard

Flask-User YANKED pypi

Open maucm92 opened this issue 2 years ago • 18 comments

Hello, First of all, congratulations for the excellent work on this project. We recently detected that the project on PyPi is listed as "Yanked". I have been reported that doing pip install Flask-User does not work due to the state of the project and the version number must be added to be able to install. On the other hand, a warning message is observed during the installation and a reason why the project is marked as Yanked is not indicated.

yanked

My questions are:

  1. What can we do to avoid the mentioned problems and continue using the module normally?
  2. Since when is the project marked as Yanked?
  3. Is this due to a bug in the module?
  4. Or is it because the project is no longer in active development and will be removed or deprecated?
  5. Should we look for an alternative project?

Thank you very much

Greetings, Mauro

maucm92 avatar Feb 21 '22 13:02 maucm92

Same questions from me. As additional information, if I do a

pip install flask-user

I get the following error:

ERROR: Could not find a version that satisfies the requirement flask-user (from versions: 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.6.10, 0.6.12, 0.6.13, 0.6.14, 0.6.15, 0.6.16, 0.6.17, 0.6.19, 0.6.20, 0.6.21, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.1.5, 1.0.2.0, 1.0.2.1, 1.0.2.2)
ERROR: No matching distribution found for flask-user

charlbury avatar Feb 21 '22 23:02 charlbury

Yes I've seen this same issue. Not sure what happened to this version.

jgerry2002 avatar Mar 09 '22 02:03 jgerry2002

If anyone knows the answer to this, I would also love to know. Perhaps its unsafe to use this package for now?

peterstavrou avatar Mar 09 '22 08:03 peterstavrou

I'm guessing the maintainer has lost interest in this project. There has been no activity since 2020 in his github account. If he is out there hopefully he will respond soon.

jgerry2002 avatar Mar 14 '22 09:03 jgerry2002

You can fix this manually -

  1. Clone the repo - https://github.com/lingthio/Flask-User.git
  2. upgrade your "pip" - py -m pip install --upgrade pip
  3. upgrade "build" - py -m pip install --upgrade build
  4. browse to the folder location of the repo cloned
  5. then build the package - py -m build
  6. then go to 'dist' folder created there would be a filename.whl file
  7. run pip install filename.whl
  8. at last install pip install wtforms[email] for email validators. Alternatively install from here - Flask_User-1.0.2.3-py2.py3-none-any.zip

amanve avatar Mar 16 '22 17:03 amanve

I'm guessing the maintainer has lost interest in this project. There has been no activity since 2020 in his github account. If he is out there hopefully he will respond soon.

oof. hopefully guy is ok, otherwise, we should probably fork and re-pypi this project under a different moniker?

dave-c-vt avatar Apr 06 '22 03:04 dave-c-vt

I'm guessing the maintainer has lost interest in this project. There has been no activity since 2020 in his github account. If he is out there hopefully he will respond soon.

oof. hopefully guy is ok, otherwise, we should probably fork and re-pypi this project under a different moniker?

It may be a good idea to consider since we've seen no activity if it makes sense to keep this project going.

jgerry2002 avatar Apr 06 '22 04:04 jgerry2002

Can always use flask-security-too as an alternative.

peterstavrou avatar Apr 06 '22 04:04 peterstavrou

I also had the same problem, finally after updating the pip version by the command 'python -m pip install --upgrade pip', the installation was successful

yejuns avatar May 10 '22 23:05 yejuns

Can't install it either.

johan-sorman avatar Jul 16 '22 12:07 johan-sorman

Same questions from me. As additional information, if I do a

pip install flask-user

I get the following error:

ERROR: Could not find a version that satisfies the requirement flask-user (from versions: 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.6.10, 0.6.12, 0.6.13, 0.6.14, 0.6.15, 0.6.16, 0.6.17, 0.6.19, 0.6.20, 0.6.21, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.1.5, 1.0.2.0, 1.0.2.1, 1.0.2.2)
ERROR: No matching distribution found for flask-user

Same issue

GitauHarrison avatar Sep 10 '22 05:09 GitauHarrison

well what do we do now

taylenschmaltz avatar Feb 03 '23 17:02 taylenschmaltz

well what do we do now

I migrated to django framework

johan-sorman avatar Feb 03 '23 19:02 johan-sorman

I was able to switch to using Flask-Login without any trouble at all.

https://github.com/maxcountryman/flask-login

dave-c-vt avatar Feb 03 '23 22:02 dave-c-vt

You can also install from git directly, e.g. for a specific version (here latest tag 1.0.2.2):

pip install -e git+https://github.com/lingthio/[email protected]#egg=Flask-User

This will be resolved to:

$ pip freeze | grep Flask-User
-e git+https://github.com/lingthio/Flask-User.git@e3aafd927e1156fb38d9aa729bc729eebe2721d6#egg=Flask_User

colidyre avatar Apr 05 '23 11:04 colidyre

Hello, I faced the same issue and I feel unconfortable installing a package that hasn't been updated for more than 2 years. Is there any alternatives to manage users roles suited for production environnement please?

elouahidiahmed avatar Jun 04 '23 03:06 elouahidiahmed

Well I do not know. It feels like the author is dead. in general, this is a very flawed package, even if it allows user authorization, and a small role model. But everything that is inside, you can write 0.3 of the volume of the entire code.

On top of that, this package only has client sessions - this is a complete bullshit in 2023. It's better to use JWT with client fingerprints to revoke tokens.

Exordio avatar Jul 06 '23 13:07 Exordio