Comments (30)
Blocked by https://bitbucket.org/bbangert/beaker/issue/114/python3-raises-typeerror-passphrase-must
from bottle-cork.
Looks like Beaker has moved to github. The above blocker ticket is now a broken link. See https://github.com/bbangert/beaker/
Possibly blocked by bbangert/beaker#21
from bottle-cork.
bbangert/beaker#21 is still unpatched and other required libraries are not available for Python3 at the moment.
from bottle-cork.
Any progress on this?
from bottle-cork.
Has python 3 compatibility been considered again ?
from bottle-cork.
Unfortunately the bug in Beaker has not been fixed so far. The offending code is there since 2008, and the project is not being actively maintained.
At this point, moving away from Beaker seems to be the only option. Any suggestion?
from bottle-cork.
I support moving away from dead and broken dependencies thumbsup
Tomas E. Sandven
On Sat, Oct 25, 2014 at 2:57 PM, Federico Ceratto [email protected]
wrote:
Unfortunately the bug in Beaker has not been fixed so far. The offending
code is there since 2008, and the project is not being actively maintained.
At this point, moving away from Beaker seems to be the only option. Any
suggestion?—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from bottle-cork.
seems like a good idea, but don't know what replacement to use.
from bottle-cork.
Hello,
I'm looking at Python 3 Wall of Superpowers which shows Bottle
and Beaker
have Python 3
compatibility - specifically bottle 0.12.8 is compatible with Python 3.3 and Beaker 1.6.4 is compatible with Python 3.2.
Does this change things at all and make Cork
compatible with Python 3?
Thank You.
from bottle-cork.
Bottle is indeed compatible with Python 3 while Beaker is still not entirely compatible (see bug listed above). Beaker has not been maintained since 2013 and the last release is from 2012.
Moving away from it seems to be the only option at this point.
from bottle-cork.
Ok, thank you for the information, I would contribute time to look into it, but the operations of Beaker are a little out of my league I think. I will watch this topic with interest.
from bottle-cork.
Good news, @amol- is taking over Beaker and released a new version already:
https://github.com/bbangert/beaker/commits/master
from bottle-cork.
Wow, thanks for the update. So is Beaker compatible with Python 3 yet, or still on the horizon?
from bottle-cork.
Beaker 1.6 is compatible with some versions of PY3, see that on travis is already tested again 3.2: https://travis-ci.org/bbangert/beaker/builds/49749936
Support for PY3 in 1.6.5 is currently achieved using 2to3 and some fixes during installation, I worked on a fully native solution which is currently tested against all py3.2, py3.3, py3.4 https://travis-ci.org/TurboGears/beaker
The fully native solution will be released as soon as I have time to merge it back into the main trunk and test it on some real world project, in the mean while you can freely clone it from https://github.com/TurboGears/beaker/commits/py3native and send feedbacks if you find any issue.
from bottle-cork.
@oshihirii and @amol- the main blocker that is currently preventing Cork to use Beaker with python3 is bbangert/beaker#21 , which is still unpatched.
from bottle-cork.
Added patch bbangert/beaker/pull/75
from bottle-cork.
Beaker v1.7.0dev was released 19 days ago. Pending release of a stable version.
from bottle-cork.
not out yet ?
from bottle-cork.
Nope, the last activity from was releasing the dev version on 25 Feb.
@amol- : any plan to release a stable version soon? Thanks!
from bottle-cork.
@FedericoCeratto no plans, waiting a reasonable span of time to confirm no major bugs have been introduced due to the rewrite. The changes were big so I need to confirm third party projects continue to work as before.
from bottle-cork.
@amol-: thanks for the reply. I'll import the dev version and test Cork on Python 3 against it.
from bottle-cork.
@FedericoCeratto any feedback on testing beaker with Cork on py3? I plan to release Beaker as stable in a few days but wanted to wait for Cork feedback :)
from bottle-cork.
@amol-: I'm currently testing the new version and seems to be working. I'll publish the updated unit tests shortly.
from bottle-cork.
@amol- crypto.generateCryptoKeys(cleartext, salt, 10) is generating different hash values under python2.7 and python3.4 with Beaker 1.7 - is this expected?
from bottle-cork.
It might yes, when hashlib.pbkdf2_hmac is available that is used otherwise a builtin pbkdf2 implementation is used. You can check on both interpreter with hasattr(hashlib, "pbkdf2_hmac")
if the two provide different answers they will probably lead to different keys.
from bottle-cork.
@amol-: found the culprit: bbangert/beaker#81
Calling crypto.generateCryptoKeys with cleartext and salt as unicode strings produces the same output in py2 and py3 as expected. If I pass salt as a bytes type, it breaks due to the "bytes_" function
from bottle-cork.
@FedericoCeratto fixed bbangert/beaker#81
Should I proceed with release or did you find any other issue?
from bottle-cork.
@amol- I haven't found anything else so far.
from bottle-cork.
Version 0.12.0a1 released with Python 3 support.
from bottle-cork.
Version 0.12.0a2 released
from bottle-cork.
Related Issues (20)
- SQLiteBackend.Table.iteritems() yields wrong data HOT 2
- Doco links to dead-ish downloads page on Github
- Best way to add more user fields to user profile? HOT 1
- Registration email fails if TEMPLATE_PATH is not /views/ HOT 2
- Login timeout too short HOT 1
- make doc error HOT 1
- Subclassing User HOT 2
- Security issue? problematic defaults for hashlib.pbkdf2_hmac HOT 1
- Registration does not check pending_registrations collection for existence of the user name HOT 4
- http://cork.firelet.net/ is down HOT 1
- Missing logging for auditing HOT 5
- pip update? HOT 1
- Documentation website is down HOT 1
- mongo backend doesn't work with mongdb 3.4
- Email Not Sent - Auth Error HOT 6
- TypeError @ _setup_cookie when signing/logging in HOT 1
- Docs not accessible
- Question ? Cork without beaker
- There's an error when installing
- MySQL server has gone away 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 bottle-cork.