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

Notebooks don't work with Python 3.10 (and pin too many packages) #733

Closed
uri-granta opened this issue May 12, 2023 · 1 comment · Fixed by #738
Closed

Notebooks don't work with Python 3.10 (and pin too many packages) #733

uri-granta opened this issue May 12, 2023 · 1 comment · Fixed by #738
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@uri-granta
Copy link
Collaborator

Describe the bug
The notebooks don't currently work with Python 3.10 for a number of reasons:

  1. we currently pin sphinx to 3.5.4 to work around Plotly cannot be loaded if Mathjax v3 is already loaded plotly/plotly.js#4563, but that version breaks with Python 3.10
  2. we currently pin pandas to <1.0.0, which similarly breaks with Python 3.10: see Pandas error in documentation notebook #703
  3. we depend on box2d, which doesn't provide wheels for Python 3.10 or a source package: see https://stackoverflow.com/questions/70323852/error-trying-to-install-python-package-box2d

We also pin some additional packages:

  1. gym<0.22 (why?)
  2. setuptools==65.6.3 (due to [Bug Report] Version 0.21 could not be installed. openai/gym#3176)
  3. wheel==0.38.4 (due to due to [Bug Report] Building wheel for gym (setup.py) ... error openai/gym#3202)
  4. Jinja2<3.1 (why?)

Expected behaviour
Support running and building notebooks with Python 3.10 and, ideally, the latest versions of all the dependant packages.

@uri-granta uri-granta added bug Something isn't working documentation Improvements or additions to documentation labels May 12, 2023
@uri-granta
Copy link
Collaborator Author

Fixed in #738

@uri-granta uri-granta linked a pull request Jun 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant