Skip to content

Commit 7f47190

Browse files
KyryloKireievkyrylo.kireievfeanil
authored andcommitted
fix: remove openai lib (#2488)
* fix: remove openai lib * fix: remove forgotten openai * fix: pin Sphinx version * fix: add Sphinx version to constraints * docs: include issue id Co-authored-by: Feanil Patel <feanil@axim.org> --------- Co-authored-by: kyrylo.kireiev <kyrylo.kireiev@raccoongang.com> Co-authored-by: Feanil Patel <feanil@axim.org>
1 parent e0f0be3 commit 7f47190

File tree

15 files changed

+191
-320
lines changed

15 files changed

+191
-320
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
node-version: ${{ env.NODE_VER }}
2424
- name: Install requirements
2525
run: make requirements
26+
- name: Pull translations
27+
run: make pull_translations
2628
- name: Build package
2729
run: python setup.py sdist bdist_wheel
2830
- name: Publish to PyPi

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Unreleased
1717
----------
1818
* nothing unreleased
1919

20+
[6.6.0] - 2026-01-08
21+
---------------------
22+
* feat: added atlas translations flow in enterprise app
23+
2024
[6.5.7] - 2025-11-28
2125
---------------------
2226
* feat: fetch SAP user id by remote_id_field_name

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,16 @@ extract_translations: ## extract strings to be translated, outputting .mo files
5656

5757
fake_translations: extract_translations dummy_translations compile_translations ## generate and compile dummy translation files
5858

59-
pull_translations: ## pull translations from Transifex
60-
tx pull -a
61-
62-
push_translations: ## push source translation files (.po) from Transifex
59+
pull_translations: ## Pull translations from openedx-translations via Atlas
60+
rm -rf enterprise/conf/locale consent/conf/locale
61+
mkdir -p enterprise/conf/locale consent/conf/locale
62+
atlas pull $(ATLAS_OPTIONS) \
63+
translations/edx-enterprise/enterprise/conf/locale:enterprise/conf/locale \
64+
translations/edx-enterprise/consent/conf/locale:consent/conf/locale \
65+
$(ATLAS_EXTRA_SOURCES)
66+
python manage.py compilemessages
67+
68+
push_translations: ## push source translation files (.po) to Transifex (deprecated)
6369
tx push -s
6470

6571
coverage: clean ## generate and view HTML coverage report

enterprise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Your project description goes here.
33
"""
44

5-
__version__ = "6.5.7"
5+
__version__ = "6.6.0"

requirements/base.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ tincan
3030
edx-toggles
3131
jsondiff
3232
jsonfield
33+
openedx-atlas
3334
openedx-events
3435
paramiko
3536
path.py
@@ -44,7 +45,6 @@ stevedore
4445
testfixtures
4546
unicodecsv
4647
PGPy
47-
openai
4848
django-oauth-toolkit
4949

5050
# Explicitly pinned packages. Anything pinned here must match edx-platform's pinned packages.

requirements/celery53.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
amqp==5.3.1
2-
billiard==4.2.3
3-
celery==5.5.3
2+
billiard==4.2.4
3+
celery==5.6.0
44
click==8.3.1
55
click-didyoumean==0.3.1
66
click-repl==0.3.0
7-
kombu==5.5.4
7+
kombu==5.6.1
88
prompt-toolkit==3.0.52
99
vine==5.1.0

requirements/ci.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# make upgrade
5+
# pip-compile requirements/ci.in
66
#
7-
cachetools==6.2.2
7+
cachetools==6.2.4
88
# via tox
99
chardet==5.2.0
1010
# via tox
1111
colorama==0.4.6
1212
# via tox
1313
distlib==0.4.0
1414
# via virtualenv
15-
filelock==3.20.0
15+
filelock==3.20.1
1616
# via
1717
# tox
1818
# virtualenv
1919
packaging==25.0
2020
# via
2121
# pyproject-api
2222
# tox
23-
platformdirs==4.5.0
23+
platformdirs==4.5.1
2424
# via
2525
# tox
2626
# virtualenv

requirements/constraints.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ celery>=5.2.2,<6.0.0
3636
# The constraint can be removed once a release (pip-tools > 7.5.1) is available with support for pip 25.3
3737
# Issue to track this dependency and unpin later on: https://github.com/openedx/edx-lint/issues/503
3838
pip<25.3
39+
40+
# pinning Sphinx 8.x version
41+
# Sphinx 9.x introduces significant changes and removals compared to Sphinx 8.x,
42+
# particularly in internal APIs and default behaviors, including a substantial rewrite of the autodoc extension.
43+
# https://github.com/openedx/edx-enterprise/issues/2494
44+
Sphinx>=8.0,<9.0

0 commit comments

Comments
 (0)