Skip to content

octopus:ImportError: cannot import name 'environmentfilter' from 'jinja2'#45839

Closed
RaminNietzsche wants to merge 1 commit intoceph:octopusfrom
RaminNietzsche:fix_jinja2_version
Closed

octopus:ImportError: cannot import name 'environmentfilter' from 'jinja2'#45839
RaminNietzsche wants to merge 1 commit intoceph:octopusfrom
RaminNietzsche:fix_jinja2_version

Conversation

@RaminNietzsche
Copy link

Date: Sun Apr 10 15:16925 2022 +0430

On branch fix_jinja2_version
Changes to be committed:
modified: admin/doc-requirements.txt

Signed-off-by: Ramin Najarbashi ramin.najarbashi@gmail.com

Checklist

  • Component impact
    • No impact that needs to be tracked
  • Documentation
    • No doc update is appropriate
  • Tests
    • No tests
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@github-actions github-actions bot added this to the octopus milestone Apr 10, 2022
@RaminNietzsche RaminNietzsche requested a review from a team as a code owner April 10, 2022 16:35
@RaminNietzsche RaminNietzsche requested review from Sarthak0702 and aaSharma14 and removed request for a team April 10, 2022 16:35
Date:      Sun Apr 10 15:16925 2022 +0430

On branch fix_jinja2_version
Changes to be committed:
	modified:   admin/doc-requirements.txt
	modified:   src/pybind/mgr/dashboard/constraints.txt
	modified:   src/pybind/mgr/dashboard/constraints.txt

Signed-off-by: Ramin Najarbashi <ramin.najarbashi@gmail.com>
Copy link
Contributor

@idryomov idryomov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do backports by cherry picking changes from the master branch with git cherry-pick -x so that the original commit hash is recorded in the changelog. E.g. for admin/doc-read-the-docs.txt change, you would need to do git cherry-pick -x 6a1dd3a8a2f3dc9fe8615d402c9041273516ff89.

I don't see the Jinja2 < 3.1 change is master though. Is master not affected, if so why?

@ideepika
Copy link
Member

We do backports by cherry picking changes from the master branch with git cherry-pick -x so that the original commit hash is recorded in the changelog. E.g. for admin/doc-read-the-docs.txt change, you would need to do git cherry-pick -x 6a1dd3a8a2f3dc9fe8615d402c9041273516ff89.

I don't see the Jinja2 < 3.1 change is master though. Is master not affected, if so why?

@idryomov perhaps we need octopus backport for https://tracker.ceph.com/issues/55294 #45881 (comment) or if we do not want to update sphnix version then pinning Jinja version might help.

@idryomov
Copy link
Contributor

FWIW @ljflores is looking into bumping the sphinx version in #45972.

@ljflores
Copy link
Member

@RaminNietzsche this might be a more straight-forward solution for the readthedocs failure: #46219. The Docs build failure has already been fixed by bumping the Sphinx version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants