diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml new file mode 100644 index 0000000..8906e48 --- /dev/null +++ b/.github/workflows/upgrade-python-requirements.yml @@ -0,0 +1,31 @@ +name: Upgrade Python Requirements + +on: + schedule: + - cron: "0 0 * * 1" + workflow_dispatch: + inputs: + branch: + description: "Target branch against which to create requirements PR" + required: true + # If copying this template manually, you must provide your default branch name + # in quotes, such as 'master' + default: $default-branch + +jobs: + call-upgrade-python-requirements-workflow: + uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master + with: + # If copying manually, also provide your default branch name in quotes here + branch: ${{ github.event.inputs.branch || $default-branch }} + # optional parameters below; fill in if you'd like github or email notifications + # user_reviewers: "" + # team_reviewers: "" + # email_address: "" + # send_success_notification: false + # python_version: "" + secrets: + requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }} + requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }} + edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }} + edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }} diff --git a/requirements/pip.txt b/requirements/pip.txt index dd0c9da..69bb27e 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -10,5 +10,5 @@ wheel==0.37.1 # The following packages are considered to be unsafe in a requirements file: pip==22.1.2 # via -r requirements/pip.in -setuptools==62.3.3 +setuptools==69.1.1 # via -r requirements/pip.in diff --git a/setup.py b/setup.py index 4ff349b..6d1a58d 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ def get_version(*file_paths): 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.12', ], description="User utilities for the Open edX platform", entry_points={ diff --git a/tox.ini b/tox.ini index 5dda256..a43467d 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,8 @@ commands = flake8 user_util [testenv] setenv = PYTHONPATH = {toxinidir} -deps = +deps = + setuptools -r requirements/test.txt commands = pip install -U pip