Skip to content

Commit

Permalink
v19.0.0
Browse files Browse the repository at this point in the history
- upgrade to sumac
- add a deprecation warning in the readme as ecommerce and ecommerce-worker repositories have been archieved now.
- dockerfile now includes link to archieved repositories of ecommerce and ecommerce-worker.
  • Loading branch information
Muhammad Faraz Maqsood authored and DawoudSheraz committed Nov 29, 2024
1 parent 3686d60 commit 465f81b
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 16 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ instructions, because git commits are used to generate release notes:

<!-- scriv-insert-here -->

<a id='changelog-19.0.0'></a>
## v19.0.0 (2024-10-24)

- 💥[Feature] Upgrade to Sumac. (by @Faraz32123)
- tutor-ecommerce will be deprecated with this release as the underlying e-commerce repositories have been archived. For more details, please refer to the deprecation ticket .i.e. https://github.com/overhangio/tutor-ecommerce/issues/83.
- [BugFix] Updating the uwsgi version to the latest fixes `uwsgi: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory`. (by @Faraz32123)
- [Bugfix] Fix ecommerce image build, which was failing because of a missing pkg-config apt package. (by @regisb)
- [Bugfix] Fix legacy warnings during Docker build. (by @regisb)


<a id='changelog-18.0.0'></a>
## v18.0.0 (2024-05-15)

Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
⛔️ WARNING
==========

This plugin is deprecated as the underlying e-commerce repositories have been archived. For more details, please refer to the deprecation ticket: [tutor-ecommerce deprecation ticket](https://github.com/overhangio/tutor-ecommerce/issues/83).

E-Commerce plugin for `Tutor <https://docs.tutor.edly.io>`_
===============================================================

This is a plugin for `Tutor <https://docs.tutor.edly.io>`_ that integrates the `E-Commerce <https://github.com/openedx/ecommerce/>`__ application in an Open edX platform.

⛔️ WARNING
==========

e-commerce and e-commerce worker are under-maintained. The Open edX community is not fixing bugs or developing new features for it. We hope to deprecate and replace it soon. For updates, `follow along on the DEPR ticket <https://github.com/openedx/public-engineering/issues/22>`_.

Installation
------------

Expand Down
1 change: 0 additions & 1 deletion changelog.d/20240621_170044_regis.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/20240621_175315_regis_nightly.md

This file was deleted.

8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
include_package_data=True,
python_requires=">=3.9",
install_requires=[
"tutor>=18.0.0,<19.0.0",
"tutor-discovery>=18.0.0,<19.0.0",
"tutor-mfe>=18.0.0,<19.0.0",
"tutor>=19.0.0,<20.0.0",
"tutor-discovery>=19.0.0,<20.0.0",
"tutor-mfe>=19.0.0,<20.0.0",
],
extras_require={"dev": ["tutor[dev]>=18.0.0,<19.0.0"]},
extras_require={"dev": ["tutor[dev]>=19.0.0,<20.0.0"]},
entry_points={"tutor.plugin.v1": ["ecommerce = tutorecommerce.plugin"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
2 changes: 1 addition & 1 deletion tutorecommerce/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "18.0.0"
__version__ = "19.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN useradd --home-dir /openedx --create-home --shell /bin/bash --uid ${APP_USER
USER ${APP_USER_ID}

RUN mkdir /openedx/ecommerce_worker && \
git clone https://github.com/openedx/ecommerce-worker.git --branch {{ OPENEDX_COMMON_VERSION }} --depth 1 /openedx/ecommerce_worker
git clone https://github.com/openedx-unsupported/ecommerce-worker.git --branch open-release/sumac.master --depth 1 /openedx/ecommerce_worker
WORKDIR /openedx/ecommerce_worker

# Install pyenv
Expand Down
6 changes: 3 additions & 3 deletions tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
###### Checkout code
FROM minimal AS checkout

ARG ECOMMERCE_REPOSITORY=https://github.com/openedx/ecommerce.git
ARG ECOMMERCE_VERSION='{{ OPENEDX_COMMON_VERSION }}'
ARG ECOMMERCE_REPOSITORY=https://github.com/openedx-unsupported/ecommerce.git
ARG ECOMMERCE_VERSION='open-release/sumac.master'
RUN mkdir -p /openedx/ecommerce && \
git clone $ECOMMERCE_REPOSITORY --branch $ECOMMERCE_VERSION --depth 1 /openedx/ecommerce

Expand Down Expand Up @@ -82,7 +82,7 @@ RUN --mount=type=cache,target=/openedx/.cache/bower,sharing=shared,uid=${APP_USE
# python requirements
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} pip install -r requirements.txt
# https://pypi.org/project/uWSGI/
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} pip install uwsgi==2.0.24
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} pip install uwsgi==2.0.27

# Install private requirements: this is useful for installing custom payment processors.
COPY --chown=app:app ./requirements/ /openedx/requirements
Expand Down

0 comments on commit 465f81b

Please sign in to comment.