From b84045c443e13ed6ede84ab409ae65c79edc8b03 Mon Sep 17 00:00:00 2001 From: Agrendalath Date: Tue, 30 Jan 2024 00:03:40 +0100 Subject: [PATCH] fix: pin `parsel` to `1.6.0` --- image_explorer/__init__.py | 2 +- requirements/base.txt | 10 +++++----- requirements/constraints.txt | 4 ++++ requirements/test.txt | 9 ++++----- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/image_explorer/__init__.py b/image_explorer/__init__.py index 51a5d59..467efa7 100644 --- a/image_explorer/__init__.py +++ b/image_explorer/__init__.py @@ -22,4 +22,4 @@ """ from .image_explorer import ImageExplorerBlock -__version__ = '2.2.0' +__version__ = '2.2.1' diff --git a/requirements/base.txt b/requirements/base.txt index e11abdd..058dfdc 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -31,7 +31,6 @@ jmespath==1.0.1 # via # boto3 # botocore - # parsel lazy==1.6 # via xblock lxml==5.1.0 @@ -46,10 +45,10 @@ markupsafe==2.1.4 # xblock openedx-django-pyfs==3.4.1 # via xblock -packaging==23.2 - # via parsel -parsel==1.8.1 - # via -r requirements/base.in +parsel==1.6.0 + # via + # -c requirements/constraints.txt + # -r requirements/base.in python-dateutil==2.8.2 # via # botocore @@ -68,6 +67,7 @@ six==1.16.0 # via # fs # fs-s3fs + # parsel # python-dateutil sqlparse==0.4.4 # via django diff --git a/requirements/constraints.txt b/requirements/constraints.txt index a737d6f..d928eac 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -10,3 +10,7 @@ # Common constraints for edx repos -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + +# Newer versions fail with: +# `AttributeError: module 'openedx.core.lib.safe_lxml.etree' has no attribute '__version__'`. +parsel==1.6.0 diff --git a/requirements/test.txt b/requirements/test.txt index d375b6e..10aafcc 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -92,7 +92,6 @@ jmespath==1.0.1 # -r requirements/base.txt # boto3 # botocore - # parsel lazy==1.6 # via # -r requirements/base.txt @@ -126,12 +125,11 @@ openedx-django-pyfs==3.4.1 # -r requirements/base.txt # xblock packaging==23.2 + # via pytest +parsel==1.6.0 # via + # -c requirements/constraints.txt # -r requirements/base.txt - # parsel - # pytest -parsel==1.8.1 - # via -r requirements/base.txt pbr==6.0.0 # via stevedore platformdirs==4.1.0 @@ -208,6 +206,7 @@ six==1.16.0 # edx-lint # fs # fs-s3fs + # parsel # python-dateutil sqlparse==0.4.4 # via