tutor-notes 19.0.2__tar.gz → 20.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/PKG-INFO +3 -3
  2. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/pyproject.toml +2 -2
  3. tutor_notes-20.0.0/tutornotes/__about__.py +1 -0
  4. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/templates/notes/build/notes/Dockerfile +19 -14
  5. tutor_notes-19.0.2/tutornotes/__about__.py +0 -1
  6. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/.gitignore +0 -0
  7. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/.hatch_build.py +0 -0
  8. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/LICENSE.txt +0 -0
  9. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/README.rst +0 -0
  10. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/__init__.py +0 -0
  11. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/caddyfile +0 -0
  12. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/k8s-deployments +0 -0
  13. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/k8s-jobs +0 -0
  14. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/k8s-services +0 -0
  15. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/kustomization-configmapgenerator +0 -0
  16. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/local-docker-compose-dev-services +0 -0
  17. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/local-docker-compose-jobs-services +0 -0
  18. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/local-docker-compose-permissions-command +0 -0
  19. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/local-docker-compose-permissions-volumes +0 -0
  20. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/local-docker-compose-services +0 -0
  21. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/openedx-common-settings +0 -0
  22. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/openedx-lms-common-settings +0 -0
  23. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/openedx-lms-development-settings +0 -0
  24. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/patches/openedx-lms-production-settings +0 -0
  25. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/plugin.py +0 -0
  26. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/templates/notes/apps/settings/tutor.py +0 -0
  27. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/templates/notes/tasks/lms/init +0 -0
  28. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/templates/notes/tasks/mysql/init +0 -0
  29. {tutor_notes-19.0.2 → tutor_notes-20.0.0}/tutornotes/templates/notes/tasks/notes/init +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tutor-notes
3
- Version: 19.0.2
3
+ Version: 20.0.0
4
4
  Summary: A Tutor plugin for student notes
5
5
  Project-URL: Homepage, https://docs.tutor.edly.io/
6
6
  Project-URL: Documentation, https://github.com/overhangio/tutor-notes#readme
@@ -24,11 +24,11 @@ Classifier: Programming Language :: Python :: 3.10
24
24
  Classifier: Programming Language :: Python :: 3.11
25
25
  Classifier: Programming Language :: Python :: 3.12
26
26
  Requires-Python: >=3.9
27
- Requires-Dist: tutor<20.0.0,>=19.0.0
27
+ Requires-Dist: tutor<21.0.0,>=20.0.0
28
28
  Provides-Extra: dev
29
29
  Requires-Dist: black; extra == 'dev'
30
30
  Requires-Dist: pylint; extra == 'dev'
31
- Requires-Dist: tutor[dev]<20.0.0,>=19.0.0; extra == 'dev'
31
+ Requires-Dist: tutor[dev]<21.0.0,>=20.0.0; extra == 'dev'
32
32
  Description-Content-Type: text/x-rst
33
33
 
34
34
  Students notes plugin for `Tutor <https://docs.tutor.edly.io>`_
@@ -27,7 +27,7 @@ classifiers = [
27
27
  "Programming Language :: Python :: 3.12",
28
28
  ]
29
29
  dependencies = [
30
- "tutor>=19.0.0,<20.0.0",
30
+ "tutor>=20.0.0,<21.0.0",
31
31
  ]
32
32
 
33
33
  # These fields will be set by hatch_build.py
@@ -35,7 +35,7 @@ dynamic = ["version"]
35
35
 
36
36
  [project.optional-dependencies]
37
37
  dev = [
38
- "tutor[dev]>=19.0.0,<20.0.0",
38
+ "tutor[dev]>=20.0.0,<21.0.0",
39
39
  "black",
40
40
  "pylint"
41
41
  ]
@@ -0,0 +1 @@
1
+ __version__ = "20.0.0"
@@ -1,4 +1,4 @@
1
- # syntax=docker/dockerfile:1.4
1
+ # syntax=docker/dockerfile:1
2
2
  FROM docker.io/ubuntu:24.04
3
3
 
4
4
  ENV DEBIAN_FRONTEND=noninteractive
@@ -7,17 +7,17 @@ ENV DEBIAN_FRONTEND=noninteractive
7
7
  RUN userdel -r ubuntu
8
8
 
9
9
  RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
10
- --mount=type=cache,target=/var/lib/apt,sharing=locked \
11
- apt update && \
12
- apt upgrade -y && \
13
- apt install -y \
14
- language-pack-en \
15
- git \
16
- python3 \
17
- python3-pip \
18
- python3-venv \
19
- libmysqlclient-dev \
20
- pkg-config
10
+ --mount=type=cache,target=/var/lib/apt,sharing=locked \
11
+ apt update && \
12
+ apt upgrade -y && \
13
+ apt install -y \
14
+ language-pack-en \
15
+ git \
16
+ python3 \
17
+ python3-pip \
18
+ python3-venv \
19
+ libmysqlclient-dev \
20
+ pkg-config
21
21
  RUN ln -s /usr/bin/python3 /usr/bin/python
22
22
 
23
23
  ###### Git-clone Notes repo ######
@@ -34,8 +34,13 @@ ENV PATH=/app/venv/bin:${PATH}
34
34
  # https://pypi.org/project/setuptools/
35
35
  # https://pypi.org/project/pip/
36
36
  # https://pypi.org/project/wheel/
37
- RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install setuptools==75.2.0 pip==24.2 wheel==0.44.0
37
+ RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install setuptools==78.1.0 pip==25.0.1 wheel==0.46.0
38
38
  RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install -r requirements/base.txt
39
39
 
40
40
  EXPOSE 8000
41
- CMD gunicorn --workers=2 --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application
41
+ CMD ["gunicorn", \
42
+ "--workers=2", \
43
+ "--name", "notes", \
44
+ "--bind=0.0.0.0:8000", \
45
+ "--max-requests=1000", \
46
+ "notesserver.wsgi:application"]
@@ -1 +0,0 @@
1
- __version__ = "19.0.2"
File without changes
File without changes
File without changes