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
  • !1585

You need to sign in or sign up before continuing.
Merged
Created May 22, 2024 by Kirill Smelkov@kirrOwner

stack/slapos: v↑ setuptools-dso 2.9 -> 2.10

  • Overview 5
  • Commits 1
  • Changes 1

With newer setuptools that is coming via !1550 (merged) (44.1.1 -> 67.8.0) we will need a fix from setuptools-dso 2.10 to handle python setup develop well:

Previously with setutools-dso 2.9 and setuptools 67.8.0 built shared libraries were not copied back into the working tree upon develop install which made anything using pygolang to fail as e.g.

$ ../bin/gpython
Traceback (most recent call last):
  File ".../../bin/gpython", line 20, in <module>
    sys.exit(gpython.main())
  File ".../pygolang/gpython/__init__.py", line 456, in main
    pymain(argv, init)
  File ".../pygolang/gpython/__init__.py", line 223, in pymain
    init()
  File ".../pygolang/gpython/__init__.py", line 447, in init
    import golang
  File ".../pygolang/golang/__init__.py", line 41, in <module>
    from golang._gopath import gimport  # make gimport available from golang
  File ".../pygolang/golang/_gopath.py", line 65, in <module>
    from golang import sync
  File ".../pygolang/golang/sync.py", line 36, in <module>
    from golang._sync import \
ImportError: liblibgolang.so.0.1: cannot open shared object file: No such file or directory

See https://github.com/mdavidsaver/setuptools_dso/pull/29#issuecomment-1745790761 and https://github.com/mdavidsaver/setuptools_dso/commit/2fdf75f2 for details.

P.S. NOTE that changing version of a setup-egg required egg currently does not force a rebuild. In other words pushing this change into testnodes won't make pygolang t o be rebuilt at all. I think this is simply a bug in slapos.buildout to fix.

/reported-by @xavier_thompson
/cc @jerome, @tomo, @kazuhiko

Edited May 22, 2024 by Kirill Smelkov
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/setuptools-dso-vup
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7