Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Cloudpickle incompatibility #1757

Closed
Gamenot opened this issue Nov 29, 2022 · 1 comment
Closed

Resolve Cloudpickle incompatibility #1757

Gamenot opened this issue Nov 29, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Gamenot
Copy link
Collaborator

Gamenot commented Nov 29, 2022

BUG REPORT

High Level Description
Cloudpickle requirement can conflict with gym and cause issues with running SMARTS.

SMARTS version
smarts==0.7.0

Steps to reproduce the bug
Environments without python-dev will have this problem.

Resulting and expected behaviour
Python will refuse to run SMARTS because of context conflicts.

Error logs and screenshots

> make sanity-test                                                    scl scenario build --clean scenarios/sumo/loop
Traceback (most recent call last):
  File "/home/mtuck/repos/SMARTS/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "/home/mtuck/repos/SMARTS/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 909, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/mtuck/repos/SMARTS/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 800, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cloudpickle 2.1.0 (/home/mtuck/repos/SMARTS/.venv/lib/python3.8/site-packages), Requirement.parse('cloudpickle<1.7.0,>=1.2.0'), {'gym'})

System information

  • Operating system & Environment [Please note if using Docker]: Ubuntu Server20.04
  • Number of system cores available: 16
  • Python version [Please note if using Jupyter]: 3.8
  • Python packages [e.g. from pip freeze]
  • SUMO version: 1.10
  • Date when bug occurred: Nov 29 2022
@Gamenot Gamenot added the bug Something isn't working label Nov 29, 2022
@saulfield
Copy link
Contributor

Included in #1981.

@saulfield saulfield closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants