Skip to content

GitLab

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

Closed
Created Aug 01, 2024 by Carlos Ramos Carreño@vnmabusDeveloper
  • Report abuse
Report abuse

Move Matplotlib versions to slapos.cfg

  • Overview 4
  • Commits 0
  • Changes 0

Move the versions of matplotlib, matplotlib-inline and cycler pinned in component/matplotlib/buildout.cfg to slapos.cfg. The cycler version for Python 3.7 will be upgraded to 0.11.0 as it is compatible.

One reason motivating this change is that the version of cycler in stack/slapos.cfg is overriding the version specified in component/matplotlib/buildout.cfg for the erp5-zope2 software release. This is a problem because the former does not take into account the Python version, while the later does. Thus, attempting to compile erp5-zope2 would give the following error:

Getting distribution for 'cycler==0.11.0'.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Package 'cycler' requires a different Python: 2.7.18 not in '>=3.6'
While:
  Installing matplotlib.
  Base installation request: 'cycler', 'python-dateutil', 'numpy'
  Getting distribution for 'cycler==0.11.0'.

This adds the right version of cycler for Python 2 in slapos.cfg, so that it does not fail.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/move_matplotlib_versions_to_slapos
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7