tutor-notes 20.0.0__tar.gz → 22.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-20.0.0 → tutor_notes-22.0.0}/PKG-INFO +7 -7
  2. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/pyproject.toml +26 -11
  3. tutor_notes-22.0.0/tutornotes/__about__.py +1 -0
  4. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/plugin.py +1 -1
  5. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/templates/notes/build/notes/Dockerfile +1 -1
  6. tutor_notes-20.0.0/.hatch_build.py +0 -21
  7. tutor_notes-20.0.0/tutornotes/__about__.py +0 -1
  8. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/.gitignore +0 -0
  9. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/LICENSE.txt +0 -0
  10. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/README.rst +0 -0
  11. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/__init__.py +0 -0
  12. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/caddyfile +0 -0
  13. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/k8s-deployments +0 -0
  14. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/k8s-jobs +0 -0
  15. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/k8s-services +0 -0
  16. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/kustomization-configmapgenerator +0 -0
  17. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/local-docker-compose-dev-services +0 -0
  18. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/local-docker-compose-jobs-services +0 -0
  19. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/local-docker-compose-permissions-command +0 -0
  20. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/local-docker-compose-permissions-volumes +0 -0
  21. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/local-docker-compose-services +0 -0
  22. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/openedx-common-settings +0 -0
  23. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/openedx-lms-common-settings +0 -0
  24. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/openedx-lms-development-settings +0 -0
  25. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/patches/openedx-lms-production-settings +0 -0
  26. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/templates/notes/apps/settings/tutor.py +0 -0
  27. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/templates/notes/tasks/lms/init +0 -0
  28. {tutor_notes-20.0.0 → tutor_notes-22.0.0}/tutornotes/templates/notes/tasks/mysql/init +0 -0
  29. {tutor_notes-20.0.0 → tutor_notes-22.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: 20.0.0
3
+ Version: 22.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
@@ -19,16 +19,16 @@ Classifier: Intended Audience :: Developers
19
19
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
20
20
  Classifier: Operating System :: OS Independent
21
21
  Classifier: Programming Language :: Python
22
- Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
- Requires-Python: >=3.9
27
- Requires-Dist: tutor<21.0.0,>=20.0.0
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Requires-Python: >=3.10
28
+ Requires-Dist: tutor<23.0.0,>=22.0.0
28
29
  Provides-Extra: dev
29
- Requires-Dist: black; extra == 'dev'
30
- Requires-Dist: pylint; extra == 'dev'
31
- Requires-Dist: tutor[dev]<21.0.0,>=20.0.0; extra == 'dev'
30
+ Requires-Dist: ruff; extra == 'dev'
31
+ Requires-Dist: tutor[dev]<23.0.0,>=22.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>`_
@@ -14,30 +14,29 @@ maintainers = [
14
14
  ]
15
15
  license = {text = "AGPL-3.0-only"}
16
16
  readme = {file = "README.rst", content-type = "text/x-rst"}
17
- requires-python = ">=3.9"
17
+ requires-python = ">=3.10"
18
18
  classifiers = [
19
19
  "Development Status :: 5 - Production/Stable",
20
20
  "Intended Audience :: Developers",
21
21
  "License :: OSI Approved :: GNU Affero General Public License v3",
22
22
  "Operating System :: OS Independent",
23
23
  "Programming Language :: Python",
24
- "Programming Language :: Python :: 3.9",
25
24
  "Programming Language :: Python :: 3.10",
26
25
  "Programming Language :: Python :: 3.11",
27
26
  "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Programming Language :: Python :: 3.14",
28
29
  ]
29
30
  dependencies = [
30
- "tutor>=20.0.0,<21.0.0",
31
+ "tutor>=22.0.0,<23.0.0",
31
32
  ]
32
33
 
33
- # These fields will be set by hatch_build.py
34
34
  dynamic = ["version"]
35
35
 
36
36
  [project.optional-dependencies]
37
37
  dev = [
38
- "tutor[dev]>=20.0.0,<21.0.0",
39
- "black",
40
- "pylint"
38
+ "tutor[dev]>=22.0.0,<23.0.0",
39
+ "ruff"
41
40
  ]
42
41
 
43
42
 
@@ -54,9 +53,8 @@ Community = "https://discuss.openedx.org/tag/tutor"
54
53
  requires = ["hatchling"]
55
54
  build-backend = "hatchling.build"
56
55
 
57
- # hatch-specific configuration
58
- [tool.hatch.metadata.hooks.custom]
59
- path = ".hatch_build.py"
56
+ [tool.hatch.version]
57
+ path = "tutornotes/__about__.py"
60
58
 
61
59
  [tool.hatch.build.targets.wheel]
62
60
  packages = ["tutornotes"]
@@ -64,8 +62,25 @@ packages = ["tutornotes"]
64
62
  [tool.hatch.build.targets.sdist]
65
63
  # Disable strict naming, otherwise twine is not able to detect name/version
66
64
  strict-naming = false
67
- include = [ "/tutornotes", ".hatch_build.py"]
65
+ include = [ "/tutornotes",]
68
66
  exclude = ["tests*"]
69
67
 
70
68
  [project.entry-points."tutor.plugin.v1"]
71
69
  notes = "tutornotes.plugin"
70
+
71
+ [tool.ruff]
72
+ exclude = ["templates", "docs/_ext"]
73
+
74
+ [tool.ruff.lint]
75
+ # E: pycodestyle errors
76
+ # I: isort
77
+ # N: pep8-naming
78
+ select = ["E", "I", "N"]
79
+
80
+ # F401: unused-import
81
+ # F841: unused-variable
82
+ # W292: missing-newline-at-end-of-file
83
+ extend-select = ["F401", "F841", "W292"]
84
+
85
+ [tool.ruff.format]
86
+ # Default config is automatically taken from https://docs.astral.sh/ruff/configuration/
@@ -0,0 +1 @@
1
+ __version__ = "22.0.0"
@@ -17,7 +17,7 @@ if __version_suffix__:
17
17
  config = {
18
18
  "defaults": {
19
19
  "VERSION": __version__,
20
- "DOCKER_IMAGE": "{{ DOCKER_REGISTRY }}overhangio/openedx-notes:{{ NOTES_VERSION }}",
20
+ "DOCKER_IMAGE": "{{ DOCKER_REGISTRY }}overhangio/openedx-notes:{{ NOTES_VERSION }}", # noqa: E501
21
21
  "HOST": "notes.{{ LMS_HOST }}",
22
22
  "MYSQL_DATABASE": "notes",
23
23
  "MYSQL_USERNAME": "notes",
@@ -34,7 +34,7 @@ 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==78.1.0 pip==25.0.1 wheel==0.46.0
37
+ RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install setuptools==80.9.0 pip==25.3 wheel==0.46.1
38
38
  RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install -r requirements/base.txt
39
39
 
40
40
  EXPOSE 8000
@@ -1,21 +0,0 @@
1
- # https://hatch.pypa.io/latest/how-to/config/dynamic-metadata/
2
-
3
- import os
4
- import typing as t
5
-
6
- from hatchling.metadata.plugin.interface import MetadataHookInterface
7
-
8
- HERE = os.path.dirname(__file__)
9
-
10
-
11
- class MetaDataHook(MetadataHookInterface):
12
- def update(self, metadata: dict[str, t.Any]) -> None:
13
- about = load_about()
14
- metadata["version"] = about["__version__"]
15
-
16
-
17
- def load_about() -> dict[str, str]:
18
- about: dict[str, str] = {}
19
- with open(os.path.join(HERE, "tutornotes", "__about__.py"), "rt", encoding="utf-8") as f:
20
- exec(f.read(), about) # pylint: disable=exec-used
21
- return about
@@ -1 +0,0 @@
1
- __version__ = "20.0.0"
File without changes
File without changes
File without changes