Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade Python requirements #2692

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Copy catalog data from Discovery. """
"""Copy catalog data from Discovery."""

import logging
import sys
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/catalog/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Tests for catalog models. """
"""Tests for catalog models."""

from django.test import TestCase

Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/catalog/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Tests for catalog utilities. """
"""Tests for catalog utilities."""

from unittest.mock import MagicMock

Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Admin configuration for core models. """
"""Admin configuration for core models."""

from django.contrib import admin, messages
from django.contrib.auth.admin import UserAdmin
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Constants for the core app. """
"""Constants for the core app."""


class Status:
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/context_processors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Core context processors. """
"""Core context processors."""

from django.conf import settings

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Creates or updates a Site including SiteConfiguration data. """
"""Creates or updates a Site including SiteConfiguration data."""

import logging

Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Core models. """
"""Core models."""

import hashlib
from urllib.parse import urljoin
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/tests/test_context_processors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Context processor tests. """
"""Context processor tests."""

from django.conf import settings
from django.test import RequestFactory, TestCase
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Tests for core models. """
"""Tests for core models."""

import json
from unittest import mock
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Core utils. """
"""Core utils."""


# This function is used by our oauth2 authorization pipeline. See settings/base.py
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/core/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Core views. """
"""Core views."""

import logging
import uuid
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Management command to create a program certificate configuration for the demo program """
"""Management command to create a program certificate configuration for the demo program"""

import logging

Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/credentials_theme_openedx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" Open EdX theme for the Credentials Service. """
"""Open EdX theme for the Credentials Service."""
2 changes: 1 addition & 1 deletion credentials/apps/records/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Admin configuration for records models. """
"""Admin configuration for records models."""

from django.contrib import admin

Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/records/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Tests for records models """
"""Tests for records models"""

from django.core.exceptions import ValidationError
from django.db.models.deletion import ProtectedError
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Generate issuance credentials with didkit."""
"""Generate issuance credentials with didkit."""

import logging
from pprint import pprint
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Generate status list. """
"""Generate status list."""

import json
import logging
Expand Down
30 changes: 15 additions & 15 deletions requirements/all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ backoff==2.2.1
# -r requirements/dev.txt
# -r requirements/production.txt
# segment-analytics-python
black==24.10.0
black==25.1.0
# via -r requirements/dev.txt
bleach==6.2.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
boto3==1.36.7
boto3==1.36.12
# via
# -r requirements/production.txt
# django-ses
botocore==1.36.7
botocore==1.36.12
# via
# -r requirements/production.txt
# boto3
Expand All @@ -53,7 +53,7 @@ cachetools==5.5.1
# -r requirements/production.txt
# google-auth
# tox
certifi==2024.12.14
certifi==2025.1.31
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down Expand Up @@ -219,7 +219,7 @@ django-rest-swagger==2.2.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
django-ses==4.3.2
django-ses==4.4.0
# via -r requirements/production.txt
django-simple-history==3.8.0
# via
Expand Down Expand Up @@ -277,7 +277,7 @@ drf-yasg==1.21.8
# via
# -r requirements/dev.txt
# -r requirements/production.txt
edx-ace==1.11.3
edx-ace==1.11.4
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down Expand Up @@ -351,9 +351,9 @@ edx-toggles==5.2.0
# -r requirements/production.txt
# edx-event-bus-kafka
# edx-event-bus-redis
factory-boy==3.3.1
factory-boy==3.3.3
# via -r requirements/dev.txt
faker==35.0.0
faker==35.2.0
# via
# -r requirements/dev.txt
# factory-boy
Expand Down Expand Up @@ -418,7 +418,7 @@ google-cloud-firestore==2.20.0
# -r requirements/dev.txt
# -r requirements/production.txt
# firebase-admin
google-cloud-storage==2.19.0
google-cloud-storage==3.0.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down Expand Up @@ -479,7 +479,7 @@ iniconfig==2.0.0
# via
# -r requirements/dev.txt
# pytest
isort==5.13.2
isort==6.0.0
# via
# -r requirements/dev.txt
# pylint
Expand Down Expand Up @@ -540,7 +540,7 @@ mysqlclient==2.2.7
# via
# -r requirements/dev.txt
# -r requirements/production.txt
newrelic==10.4.0
newrelic==10.5.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand All @@ -562,7 +562,7 @@ openedx-atlas==0.6.2
# via
# -r requirements/dev.txt
# -r requirements/production.txt
openedx-events==9.15.2
openedx-events==9.17.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down Expand Up @@ -664,7 +664,7 @@ pyjwt[crypto]==2.10.1
# firebase-admin
# segment-analytics-python
# social-auth-core
pylint==3.3.3
pylint==3.3.4
# via
# -r requirements/dev.txt
# edx-lint
Expand All @@ -688,7 +688,7 @@ pymemcache==4.0.0
# via
# -r requirements/dev.txt
# -r requirements/production.txt
pymongo==4.10.1
pymongo==4.11
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down Expand Up @@ -735,7 +735,7 @@ python3-openid==3.2.0
# -r requirements/dev.txt
# -r requirements/production.txt
# social-auth-core
pytz==2024.2
pytz==2025.1
# via
# -r requirements/dev.txt
# -r requirements/production.txt
Expand Down
14 changes: 7 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cachecontrol==0.14.2
# via firebase-admin
cachetools==5.5.1
# via google-auth
certifi==2024.12.14
certifi==2025.1.31
# via requests
cffi==1.17.1
# via
Expand Down Expand Up @@ -136,7 +136,7 @@ drf-jwt==1.19.2
# via edx-drf-extensions
drf-yasg==1.21.8
# via -r requirements/base.in
edx-ace==1.11.3
edx-ace==1.11.4
# via -r requirements/base.in
edx-auth-backends==4.4.0
# via -r requirements/base.in
Expand Down Expand Up @@ -212,7 +212,7 @@ google-cloud-core==2.4.1
# google-cloud-storage
google-cloud-firestore==2.20.0
# via firebase-admin
google-cloud-storage==2.19.0
google-cloud-storage==3.0.0
# via firebase-admin
google-crc32c==1.6.0
# via
Expand Down Expand Up @@ -259,7 +259,7 @@ msgpack==1.1.0
# via cachecontrol
mysqlclient==2.2.7
# via -r requirements/base.in
newrelic==10.4.0
newrelic==10.5.0
# via
# -r requirements/base.in
# edx-django-utils
Expand All @@ -271,7 +271,7 @@ openapi-codec==1.3.2
# via django-rest-swagger
openedx-atlas==0.6.2
# via -r requirements/base.in
openedx-events==9.15.2
openedx-events==9.17.0
# via
# -r requirements/base.in
# edx-event-bus-kafka
Expand Down Expand Up @@ -320,7 +320,7 @@ pyjwt[crypto]==2.10.1
# social-auth-core
pymemcache==4.0.0
# via -r requirements/base.in
pymongo==4.10.1
pymongo==4.11
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -336,7 +336,7 @@ python-slugify==8.0.4
# via code-annotations
python3-openid==3.2.0
# via social-auth-core
pytz==2024.2
pytz==2025.1
# via
# -r requirements/base.in
# drf-yasg
Expand Down
24 changes: 12 additions & 12 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ backoff==2.2.1
# via
# -r requirements/test.txt
# segment-analytics-python
black==24.10.0
black==25.1.0
# via -r requirements/test.txt
bleach==6.2.0
# via -r requirements/test.txt
Expand All @@ -37,7 +37,7 @@ cachetools==5.5.1
# -r requirements/test.txt
# google-auth
# tox
certifi==2024.12.14
certifi==2025.1.31
# via
# -r requirements/test.txt
# requests
Expand Down Expand Up @@ -211,7 +211,7 @@ drf-jwt==1.19.2
# edx-drf-extensions
drf-yasg==1.21.8
# via -r requirements/test.txt
edx-ace==1.11.3
edx-ace==1.11.4
# via -r requirements/test.txt
edx-auth-backends==4.4.0
# via -r requirements/test.txt
Expand Down Expand Up @@ -263,9 +263,9 @@ edx-toggles==5.2.0
# -r requirements/test.txt
# edx-event-bus-kafka
# edx-event-bus-redis
factory-boy==3.3.1
factory-boy==3.3.3
# via -r requirements/test.txt
faker==35.0.0
faker==35.2.0
# via
# -r requirements/test.txt
# factory-boy
Expand Down Expand Up @@ -318,7 +318,7 @@ google-cloud-firestore==2.20.0
# via
# -r requirements/test.txt
# firebase-admin
google-cloud-storage==2.19.0
google-cloud-storage==3.0.0
# via
# -r requirements/test.txt
# firebase-admin
Expand Down Expand Up @@ -364,7 +364,7 @@ iniconfig==2.0.0
# via
# -r requirements/test.txt
# pytest
isort==5.13.2
isort==6.0.0
# via
# -r requirements/test.txt
# pylint
Expand Down Expand Up @@ -410,7 +410,7 @@ mypy-extensions==1.0.0
# mypy
mysqlclient==2.2.7
# via -r requirements/test.txt
newrelic==10.4.0
newrelic==10.5.0
# via
# -r requirements/test.txt
# edx-django-utils
Expand All @@ -425,7 +425,7 @@ openapi-codec==1.3.2
# django-rest-swagger
openedx-atlas==0.6.2
# via -r requirements/test.txt
openedx-events==9.15.2
openedx-events==9.17.0
# via
# -r requirements/test.txt
# edx-event-bus-kafka
Expand Down Expand Up @@ -510,7 +510,7 @@ pyjwt[crypto]==2.10.1
# firebase-admin
# segment-analytics-python
# social-auth-core
pylint==3.3.3
pylint==3.3.4
# via
# -r requirements/test.txt
# edx-lint
Expand All @@ -532,7 +532,7 @@ pylint-plugin-utils==0.8.2
# pylint-django
pymemcache==4.0.0
# via -r requirements/test.txt
pymongo==4.10.1
pymongo==4.11
# via
# -r requirements/test.txt
# edx-opaque-keys
Expand Down Expand Up @@ -570,7 +570,7 @@ python3-openid==3.2.0
# via
# -r requirements/test.txt
# social-auth-core
pytz==2024.2
pytz==2025.1
# via
# -r requirements/test.txt
# drf-yasg
Expand Down
Loading