collective / dexterity.membrane

enables dexterity content items to be used as users and groups in Plone sites
3 stars 14 forks source link

Python 3 compatibility #49

Closed ksuess closed 4 years ago

ksuess commented 4 years ago

Does dexterity.membrane already support Python 3? @ale-rt you were working on this, can you tell what is the current status?

ale-rt commented 4 years ago

We have a Python3 site which is happily using:

dexterity.membrane = git git@github.com:collective/dexterity.membrane.git branch=plone52
Products.membrane = git git@github.com:collective/Products.membrane.git branch=plone52

Actually it works better than before because first we had some troubles with group membership when the group title had unicode characters in it :)

ale-rt commented 4 years ago

The plone52 branches have been merged, i.e. this should work.

dexterity.membrane = git git@github.com:collective/dexterity.membrane.git branch=plone52
Products.membrane = git git@github.com:collective/Products.membrane.git branch=plone52

I will soon ask for an egg release of both.

dodaiti commented 4 years ago

Hello, I want to use dexterity,membrane with Python3. I used the two lines that @ale-rt mentioned in his last comment in my buildout.cfg but I got some right issues: …. mr.developer: Cloned 'Products.membrane' with git using branch 'plone52' from 'git@github.com:collective/Products.membrane.git'. mr.developer: git cloning of 'Products.membrane' failed. mr.developer: git@github.com: Permission denied (publickey). mr.developer: fatal: Could not read from remote repository. mr.developer: Please make sure you have the correct access Rights

mr.developer: and the repository exists. mr.developer: mr.developer: Cloned 'dexterity.membrane' with git using branch 'plone52' from 'git@github.com:collective/dexterity.membrane.git'. mr.developer: git cloning of 'dexterity.membrane' failed. mr.developer: Warning: Permanently added the RSA host key for IP address 'xxxx' to the list of known hosts. mr.developer: git@github.com: Permission denied (publickey). mr.developer: fatal: Could not read from remote repository. mr.developer: mr.developer: Please make sure you have the correct access rights mr.developer: and the repository exists. ….

Could you please help me? Thank you.

ksuess commented 4 years ago

Just use master branches

dexterity.membrane = git https://github.com/collective/dexterity.membrane.git
Products.membrane = git https://github.com/collective/Products.membrane.git

Master of both do support Python 3 Releases for both packages are not yet done. Maybe @ale-rt or @mauritsvanrees can do this, they are maintainers of the packages.

ale-rt commented 4 years ago

They are actually released as prerelease versions:

Try to add to the buildout versions section:

Products.membrane = 5.0.0a1
dexterity.membrane = 3.0.0a1

I am using these pins since quite a while and will probably do a final release soon.

dodaiti commented 4 years ago

thank you @ksuess, the Installation worked now 👍

dodaiti commented 4 years ago

and thanks to @ale-rt also 👍

ale-rt commented 4 years ago

Then I would say this can be closed