Skip to content

Commit

Permalink
parent 1b3f20d
Browse files Browse the repository at this point in the history
author edX requirements bot <[email protected]> 1708691862 -0500
committer awais qureshi <[email protected]> 1710841575 +0500

parent 1b3f20d
author edX requirements bot <[email protected]> 1708691862 -0500
committer awais qureshi <[email protected]> 1710837557 +0500

feat: add python 3.12 support
  • Loading branch information
edx-requirements-bot authored and awais786 committed Mar 19, 2024
1 parent 1b3f20d commit 6a2ac95
Show file tree
Hide file tree
Showing 63 changed files with 973 additions and 15,695 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Python CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches:
- '**'
- '**'
workflow_dispatch:

concurrency:
Expand All @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
toxenv: [py38-django32, py38-django42, quality, translations-django32, translations-django42]
python-version: ['3.8', '3.12']
toxenv: [py38-django42, quality, translations-django42, django42]

steps:
- name: checkout repo
Expand Down
9 changes: 0 additions & 9 deletions .tx/config

This file was deleted.

7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Drag and Drop XBlock changelog
Unreleased
---------------------------

Version 4.0.0 (2024-03-12)
--------------------------

* Remove Transifex calls and bundled translation files for the OEP-58 proposal.

BREAKING CHANGE: This version removes translations for Quince and earlier releases.

Version 3.4.0 (2024-01-15)
---------------------------

Expand Down
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: clean help compile_translations dummy_translations extract_translations detect_changed_source_translations \
build_dummy_translations validate_translations pull_translations push_translations check_translations_up_to_date \
build_dummy_translations validate_translations check_translations_up_to_date \
requirements selfcheck test test.python test.unit test.quality upgrade

.DEFAULT_GOAL := help
Expand Down Expand Up @@ -52,12 +52,6 @@ build_dummy_translations: dummy_translations compile_translations ## generate an

validate_translations: build_dummy_translations detect_changed_source_translations ## validate translations

pull_translations: ## pull translations from transifex
tx pull -t -a -f --mode reviewed --minimum-perc=1

push_translations: ## push translations to transifex
tx push -s

check_translations_up_to_date: extract_translations compile_translations dummy_translations detect_changed_source_translations ## extract, compile, and check if translation files are up-to-date

piptools: ## install pinned version of pip-compile and pip-sync
Expand Down
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,20 +545,6 @@ translator from edX i18n-tools.
$ make dummy_translations
```

Transifex translations
-------------------------------------

If you want to download translations from run this command while inside project root directory

```bash
$ make pull_translations
```

Translations can be pushed to Transifex with:
```bash
$ make push_translations
```

Native API
----------

Expand Down
2 changes: 1 addition & 1 deletion drag_and_drop_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Drag and Drop v2 XBlock """
from .drag_and_drop_v2 import DragAndDropBlock

__version__ = "3.4.0"
__version__ = "4.0.0"
1 change: 1 addition & 0 deletions drag_and_drop_v2/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ def get_grading_ignore_decoys_waffle_flag():
# Ref: https://github.com/openedx/public-engineering/issues/28
return CourseWaffleFlag(WAFFLE_NAMESPACE, GRADING_IGNORE_DECOYS, __name__)
except ValueError:
# pylint: disable=toggle-missing-annotation
return CourseWaffleFlag(f'{WAFFLE_NAMESPACE}.{GRADING_IGNORE_DECOYS}', __name__)
Binary file removed drag_and_drop_v2/conf/locale/ar/LC_MESSAGES/text.mo
Binary file not shown.
Loading

0 comments on commit 6a2ac95

Please sign in to comment.