jayvdb raised the priority of this task from "Normal" to "High".
jayvdb added a comment.

We need to support `flickrapi` 2.x for its Python 3 support.  Currently we are 
only using `flickrapi` 1.4 for Python 2.6.

`setup.py` and `requirements.txt` currently do not specify a desired version of 
`flickrapi`, but that is an implicit endorsement of flickrapi 2.0.   A quick 
fix would be to specify 1.4.x for Python 2.7 to reduce the impact of this bug.  
 Until that is done, this script has effectively regressed quite significantly, 
as it doesn't work with the version which setup.py/pip will install by default.

The old `get_token_part_one` method has been removed from  `flickrapi` 2.x

Here is the old 1.x method
https://bitbucket.org/sybren/flickrapi/src/9e7a28e6da6431e632ea2b1c8d6055b0b2e6cb71/flickrapi/__init__.py?at=branch-1.4&fileviewer=file-view-default#__init__.py-663

In 2.0, it looks like the equivalent is `get_token`

https://bitbucket.org/sybren/flickrapi/src/af963fbe4efa7395fea668b43ade4459c3327f66/flickrapi/core.py?at=default&fileviewer=file-view-default#core.py-525

And if get_token fails, a `authenticate_console` method can be used

https://bitbucket.org/sybren/flickrapi/src/af963fbe4efa7395fea668b43ade4459c3327f66/flickrapi/core.py?at=default&fileviewer=file-view-default#core.py-562


TASK DETAIL
  https://phabricator.wikimedia.org/T102860

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Avicennasis, Platonides, jayvdb, XXN, Aklapper, ToAruShiroiNeko, 
valhallasw, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to