Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1744

Merged
Created Feb 21, 2025 by Kirill Smelkov@kirrOwner

pygolang: Pin zodbpickle in tests

  • Overview 3
  • Commits 1
  • Changes 1

Starting from https://lab.nexedi.com/nexedi/pygolang/-/commit/95fd2889 pygolang needs zodbpickle for tests. So without pinning zodbpickle testnodes starrted to error with

Installing gpython-interpreter.
While:
  Installing gpython-interpreter.
  Base installation request: 'pygolang[all_test]'
    Requirement of pygolang[all_test]: py; python_version >= "3" and extra == "all_test"
    Requirement of pygolang[all_test]: zodbpickle; extra == "all-test"
    Requirement of pygolang[all_test]: wheel; extra == "all-test"
    Requirement of pygolang[all_test]: setuptools-dso>=2.8; extra == "all-test"
    Requirement of pygolang[all_test]: setuptools; extra == "all-test"
    Requirement of pygolang[all_test]: pytest; extra == "all-test"
    Requirement of pygolang[all_test]: numpy; extra == "all-test"
    Requirement of pygolang[all_test]: ipython; extra == "all-test"
    Requirement of pygolang[all_test]: cython<3; extra == "all-test"
    Requirement of pygolang[all_test]: geventmp; python_version >= "3" and platform_system != "Windows"
    Requirement of pygolang[all_test]: setuptools>=60.2; python_version >= "3"
    Requirement of pygolang[all_test]: setuptools-dso>=2.8
    Requirement of pygolang[all_test]: decorator
    Requirement of pygolang[all_test]: six
    Requirement of pygolang[all_test]: gevent
  Getting distribution for 'zodbpickle; extra == "all-test"'.
Error: Picked: zodbpickle = 4.2

The `zodbpickle` egg does not have a version pin and `allow-picked-versions = false`.

To resolve this, add

    zodbpickle = 4.2

to the [versions] section,

OR set `allow-picked-versions = true`.

/cc @jerome

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: y/pygolang-fix-tests
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7