Giter VIP home page Giter VIP logo

Comments (18)

dellis23 avatar dellis23 commented on September 19, 2024

Thanks for the heads up. I'll get on this asap.

from django-wordpress-auth.

dellis23 avatar dellis23 commented on September 19, 2024

@Schwankenson I'm not seeing any actual changes in the code between what's in PyPI and what's here, other than the addition of the github URL to the project. You wouldn't happen to know why the PyPI version caused issues whereas this version did not, would you?

from django-wordpress-auth.

dellis23 avatar dellis23 commented on September 19, 2024

@mstrcnvs Is there a way on PyPI you can add my account to also have access to push / update the package? I'm getting a 403 unauthorized at the moment. My username on there is daniel.ellis.

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

Full access granted :)
Don't forget to upload sdist as well as universal wheel format!

Cheers!

Em 19/05/2015, às 00:40, Dan [email protected] escreveu:

@mstrcnvs Is there a way on PyPI you can add my account to also have access to push / update the package? I'm getting a 403 unauthorized at the moment. My username on there is daniel.ellis.


Reply to this email directly or view it on GitHub.

from django-wordpress-auth.

Schwankenson avatar Schwankenson commented on September 19, 2024

@dellis23: When I install with pip ("pip install django-wordpress-auth", tried pip version 1.5.6 and 6.1.1), for example the last line of models.py is

return phpserialize.loads(opt)

and I get the error

TypeError: 'str' does not support the buffer interface

and request.wordpress_user is boolean false.

When I install it with the following line in my requirements file

-e git://github.com/dellis23/django-wordpress-auth.git@a4aad99a6dced43c052e19d39bb91c2ed7885c5a#egg=django-wordpress-auth

the last line is

return phpserialize.loads(force_bytes(opt), decode_strings=True)

and everything works.

from django-wordpress-auth.

dellis23 avatar dellis23 commented on September 19, 2024

Yup, looks like you're right. A version bump and republish should do the trick.

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

My bad guys, corrected a few compatibility issues with Python 3 but hasn't published a new version. Are you doing it @dellis23 or you want me to do it?

from django-wordpress-auth.

dellis23 avatar dellis23 commented on September 19, 2024

@mstrcnvs If you're familiar with the sdist and wheel format stuff feel free, and it would be appreciated :-)

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

Done guys. Could upload the sdist, but for some reason I can't upload the wheel format, it's giving me "Unsupported platform" on PyPI. But it's there, released :)

from django-wordpress-auth.

dellis23 avatar dellis23 commented on September 19, 2024

@mstrcnvs Thank you!

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

Drafted a new release called v0.1.31 so then I could upload both sdist and wheel formats.

from django-wordpress-auth.

Schwankenson avatar Schwankenson commented on September 19, 2024

I´m sorry to reopen this, but I still have to install django-wordpress auth with

pip install git+https://github.com/dellis23/django-wordpress-auth#f45f57aeaa16b48f1916c3af7ea32873fbb0aaa9

When I just enter

pip install django-wordpress-auth

, I still get this python3 incompatible error

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

@Schwankenson, what's the output of the command pip freeze?

from django-wordpress-auth.

Schwankenson avatar Schwankenson commented on September 19, 2024

It`s django-wordpress-auth==0.1.31

from django-wordpress-auth.

Schwankenson avatar Schwankenson commented on September 19, 2024

Hey mstrcnvs, I sorry to tell you, that the problem persists...

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

@Schwankenson, please paste the complete error traceback.

from django-wordpress-auth.

Schwankenson avatar Schwankenson commented on September 19, 2024

I can post the error traceback later, but it is not important for this:
As described above: When I install django wordpress auth with pip install django-wordpress-auth==0.1.31, than I have not the newest version of models.py, where the last line is:

return phpserialize.loads(force_bytes(opt), decode_strings=True)

but the version https://github.com/dellis23/django-wordpress-auth/blob/38e2366a96d99e2cb449f2f43456e260c20eebf7/wordpress_auth/models.py

return phpserialize.loads(opt)

And this version if before your commit "Normalization of bytes and str types between Python 2 and 3", and causes errors in Python 3.4.

It`s a problem with the python package index, not with your code.

When I execute pip freeze, than
'django-wordpress-auth==0.1.31'
is shown

from django-wordpress-auth.

rafaelcanovas avatar rafaelcanovas commented on September 19, 2024

Well, if I download directly from PyPI I get the latest version (0.1.31) correctly.

Try to run:

pip install django-wordpress-auth -U --force-reinstall

See if that works. If it doesn't don't know what to tell you :'(

from django-wordpress-auth.

Related Issues (8)

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.