Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !1603

Merged
Created Apr 22, 2022 by Arnaud Fontaine@arnauDeveloper

Python3-related changes to be merged in master

  • Overview 61
  • Commits 22
  • Pipelines 1
  • Changes 520

@nexedi As part of my work on porting ERP5 to Python3, I have successfully being able to create an ERP5Site and access old UI (portal_templates, portal_activities...) with Zope4 and Python 3.7. I'm now merging all this work to master and zope4py2 (only for changes depending on Zope4) branches. So here is a merge request for the changes for master branch. All Unit Tests pass and I will only push to this branch after checking Unit Tests results.

I would like first to agree on the following commit and merge it to master ASAP as the rest of my work depends on it:

commit 22af8200532bd7538a632c2f572ec3537108ec33
Author: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date:   Fri Apr 15 13:40:43 2022 +0200

    py3: Make py3 API available on py2.
    
    Standard library was reorganized (urlparse => urllib, httplib => http...) in PEP
    3108. install_aliases() from `future` egg provides module aliases so that
    imports work on both python2 and python3.
Edited May 04, 2022 by Arnaud Fontaine
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: arnau-RD-py3-master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7