Skip to content

Commit

Permalink
Merge pull request #287 from openedx/remove-boto
Browse files Browse the repository at this point in the history
feat!: Updated code from boto to boto3
  • Loading branch information
awais786 authored Jun 12, 2023
2 parents a270677 + ad53fc8 commit 46472e5
Show file tree
Hide file tree
Showing 10 changed files with 103 additions and 110 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Change history for XBlock SDK

These are notable changes in XBlock.

0.6.0
-----
* Removed boto usage.
* openedx-django-pyf is now using boto3 to generate URL.

0.5.0
-----
* Removed Django22, 30 and 31 support
Expand Down
1 change: 0 additions & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

-c constraints.txt

boto
cookiecutter
Django
fs-s3fs
Expand Down
26 changes: 13 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ appdirs==1.4.4
# via fs
arrow==1.2.3
# via jinja2-time
asgiref==3.6.0
asgiref==3.7.2
# via django
binaryornot==0.4.4
# via cookiecutter
boto==2.49.0
# via -r requirements/base.in
boto3==1.26.109
boto3==1.26.146
# via fs-s3fs
botocore==1.29.109
botocore==1.29.146
# via
# boto3
# s3transfer
certifi==2022.12.7
certifi==2023.5.7
# via requests
chardet==5.1.0
# via binaryornot
Expand All @@ -30,7 +28,7 @@ click==8.1.3
# via cookiecutter
cookiecutter==2.1.1
# via -r requirements/base.in
django==3.2.18
django==3.2.19
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
Expand Down Expand Up @@ -62,11 +60,11 @@ lxml==4.9.2
# via
# -r requirements/base.in
# xblock
markupsafe==2.1.2
markupsafe==2.1.3
# via
# jinja2
# xblock
openedx-django-pyfs==3.2.1
openedx-django-pyfs==3.3.0
# via xblock
pypng==0.20220715.0
# via -r requirements/base.in
Expand All @@ -85,11 +83,11 @@ pyyaml==6.0
# via
# cookiecutter
# xblock
requests==2.28.2
requests==2.31.0
# via
# -r requirements/base.in
# cookiecutter
s3transfer==0.6.0
s3transfer==0.6.1
# via boto3
simplejson==3.19.1
# via -r requirements/base.in
Expand All @@ -98,11 +96,13 @@ six==1.16.0
# fs
# fs-s3fs
# python-dateutil
sqlparse==0.4.3
sqlparse==0.4.4
# via django
text-unidecode==1.3
# via python-slugify
urllib3==1.26.15
typing-extensions==4.6.3
# via asgiref
urllib3==1.26.16
# via
# botocore
# requests
Expand Down
20 changes: 4 additions & 16 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,20 @@
#
# make upgrade
#
certifi==2022.12.7
# via requests
charset-normalizer==3.1.0
# via requests
coverage==7.2.3
# via codecov
distlib==0.3.6
# via virtualenv
filelock==3.11.0
filelock==3.12.0
# via
# tox
# virtualenv
idna==3.4
# via requests
packaging==23.0
packaging==23.1
# via tox
platformdirs==3.2.0
platformdirs==3.5.1
# via virtualenv
pluggy==1.0.0
# via tox
py==1.11.0
# via tox
requests==2.28.2
# via codecov
six==1.16.0
# via tox
tomli==2.0.1
Expand All @@ -39,7 +29,5 @@ tox==3.28.0
# tox-battery
tox-battery==0.6.1
# via -r requirements/ci.in
urllib3==1.26.15
# via requests
virtualenv==20.21.0
virtualenv==20.23.0
# via tox
57 changes: 28 additions & 29 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ arrow==1.2.3
# -r requirements/base.txt
# -r requirements/test.txt
# jinja2-time
asgiref==3.6.0
asgiref==3.7.2
# via
# -r requirements/base.txt
# -r requirements/test.txt
# django
astroid==2.15.2
astroid==2.15.5
# via
# pylint
# pylint-celery
Expand All @@ -36,22 +36,18 @@ bok-choy==0.7.1
# via
# -r requirements/test.in
# -r requirements/test.txt
boto==2.49.0
# via
# -r requirements/base.txt
# -r requirements/test.txt
boto3==1.26.109
boto3==1.26.146
# via
# -r requirements/base.txt
# -r requirements/test.txt
# fs-s3fs
botocore==1.29.109
botocore==1.29.146
# via
# -r requirements/base.txt
# -r requirements/test.txt
# boto3
# s3transfer
certifi==2022.12.7
certifi==2023.5.7
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -82,7 +78,7 @@ cookiecutter==2.1.1
# via
# -r requirements/base.txt
# -r requirements/test.txt
coverage[toml]==7.2.3
coverage[toml]==7.2.7
# via
# -r requirements/test.in
# -r requirements/test.txt
Expand All @@ -97,7 +93,7 @@ distlib==0.3.6
# via
# -r requirements/test.txt
# virtualenv
django==3.2.18
django==3.2.19
# via
# -c requirements/common_constraints.txt
# -r requirements/base.txt
Expand All @@ -109,7 +105,7 @@ exceptiongroup==1.1.1
# via
# -r requirements/test.txt
# pytest
filelock==3.11.0
filelock==3.12.0
# via
# -r requirements/test.txt
# tox
Expand Down Expand Up @@ -175,7 +171,7 @@ mako==1.2.4
# via
# -r requirements/test.txt
# acid-xblock
markupsafe==2.1.2
markupsafe==2.1.3
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand All @@ -184,7 +180,7 @@ markupsafe==2.1.2
# xblock
mccabe==0.7.0
# via pylint
mock==5.0.1
mock==5.0.2
# via
# -r requirements/test.in
# -r requirements/test.txt
Expand All @@ -196,12 +192,12 @@ nose==1.3.7
# via
# -r requirements/test.txt
# needle
openedx-django-pyfs==3.2.1
openedx-django-pyfs==3.3.0
# via
# -r requirements/base.txt
# -r requirements/test.txt
# xblock
packaging==23.0
packaging==23.1
# via
# -r requirements/test.txt
# pytest
Expand All @@ -213,7 +209,7 @@ pillow==9.5.0
# via
# -r requirements/test.txt
# needle
platformdirs==3.2.0
platformdirs==3.5.1
# via
# -r requirements/test.txt
# pylint
Expand All @@ -231,7 +227,7 @@ pycodestyle==2.10.0
# via -r requirements/quality.in
pydocstyle==6.3.0
# via -r requirements/quality.in
pylint==2.17.2
pylint==2.17.4
# via
# edx-lint
# pylint-celery
Expand All @@ -241,21 +237,21 @@ pylint-celery==0.3
# via edx-lint
pylint-django==2.5.3
# via edx-lint
pylint-plugin-utils==0.7
pylint-plugin-utils==0.8.2
# via
# pylint-celery
# pylint-django
pypng==0.20220715.0
# via
# -r requirements/base.txt
# -r requirements/test.txt
pytest==7.3.0
pytest==7.3.1
# via
# -r requirements/test.txt
# pytest-cov
# pytest-django
# pytest-rerunfailures
pytest-cov==4.0.0
pytest-cov==4.1.0
# via
# -r requirements/test.in
# -r requirements/test.txt
Expand Down Expand Up @@ -293,12 +289,12 @@ pyyaml==6.0
# code-annotations
# cookiecutter
# xblock
requests==2.28.2
requests==2.31.0
# via
# -r requirements/base.txt
# -r requirements/test.txt
# cookiecutter
s3transfer==0.6.0
s3transfer==0.6.1
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand All @@ -325,12 +321,12 @@ six==1.16.0
# tox
snowballstemmer==2.2.0
# via pydocstyle
sqlparse==0.4.3
sqlparse==0.4.4
# via
# -r requirements/base.txt
# -r requirements/test.txt
# django
stevedore==5.0.0
stevedore==5.1.0
# via code-annotations
text-unidecode==1.3
# via
Expand All @@ -344,7 +340,7 @@ tomli==2.0.1
# pylint
# pytest
# tox
tomlkit==0.11.7
tomlkit==0.11.8
# via pylint
tox==3.28.0
# via
Expand All @@ -356,17 +352,20 @@ tox-battery==0.6.1
# via
# -r requirements/test.in
# -r requirements/test.txt
typing-extensions==4.5.0
typing-extensions==4.6.3
# via
# -r requirements/base.txt
# -r requirements/test.txt
# asgiref
# astroid
# pylint
urllib3==1.26.15
urllib3==1.26.16
# via
# -r requirements/base.txt
# -r requirements/test.txt
# botocore
# requests
virtualenv==20.21.0
virtualenv==20.23.0
# via
# -r requirements/test.txt
# tox
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build==0.10.0
# via pip-tools
click==8.1.3
# via pip-tools
packaging==23.0
packaging==23.1
# via build
pip-tools==6.13.0
# via -r requirements/pip-tools.in
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wheel==0.40.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==23.0.1
pip==23.1.2
# via -r requirements/pip.in
setuptools==67.6.1
setuptools==67.8.0
# via -r requirements/pip.in
Loading

0 comments on commit 46472e5

Please sign in to comment.