Comments (18)
Thanks for the heads up. I'll get on this asap.
from django-wordpress-auth.
@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.
@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.
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.
@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.
Yup, looks like you're right. A version bump and republish should do the trick.
from django-wordpress-auth.
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.
@mstrcnvs If you're familiar with the sdist and wheel format stuff feel free, and it would be appreciated :-)
from django-wordpress-auth.
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.
@mstrcnvs Thank you!
from django-wordpress-auth.
Drafted a new release called v0.1.31 so then I could upload both sdist and wheel formats.
from django-wordpress-auth.
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.
@Schwankenson, what's the output of the command pip freeze
?
from django-wordpress-auth.
It`s django-wordpress-auth==0.1.31
from django-wordpress-auth.
Hey mstrcnvs, I sorry to tell you, that the problem persists...
from django-wordpress-auth.
@Schwankenson, please paste the complete error traceback.
from django-wordpress-auth.
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.
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)
- Maintenance HOT 9
- Documented Example for login with Wordpress credentials HOT 3
- how to fix middleware issue HOT 4
- Submit package to PyPI HOT 5
- Wordpress root cookie plugin does not work in Wordpress 4.2.3 HOT 16
- Documentation clarification on keys and salts from wp-config.php HOT 6
- 'NoneType' object has no attribute 'capabilities' or 'roles' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-wordpress-auth.