Skip to content

Commit d128377

Browse files
authored
Merge pull request #9 from openedx/bmtcril/ulmo_ci
chore: Update CI to use Tutor Ulmo branches
2 parents 8c4386d + 0222914 commit d128377

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

pyproject.toml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
2-
# https://hatch.pypa.io/latest/config/build/
32

43
[project]
54
name = "tutor-contrib-notifications"
@@ -8,6 +7,7 @@ authors = [
87
{ name = "Ty Hob"},
98
{ name = "OpenCraft", email = "[email protected]" },
109
]
10+
dynamic = ["version"]
1111
license = { text = "AGPL-3.0-only" }
1212
maintainers = [
1313
{ name = "OpenCraft", email = "[email protected]" },
@@ -29,40 +29,25 @@ classifiers = [
2929

3030
]
3131
dependencies = [
32-
"tutor>=20.0.0,<21.0.0",
33-
"tutor-mfe>=20.0.0,<21.0.0",
32+
"tutor @ git+https://github.com/overhangio/tutor.git@ulmo",
33+
"tutor-mfe @ git+https://github.com/overhangio/tutor-mfe.git",
3434
]
3535

36-
# These fields will be set by hatch_build.py
37-
dynamic = ["version"]
38-
3936
[project.optional-dependencies]
4037
dev = [
41-
"tutor[dev]>=20.0.0,<21.0.0",
38+
"tutor[dev] @ git+https://github.com/overhangio/tutor.git@ulmo",
4239
"ruff",
4340
]
4441

45-
[tool.hatch.version]
46-
path = "tutornotifications/__about__.py"
47-
4842
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
4943
[project.urls]
5044
Documentation = "https://github.com/openedx/tutor-contrib-notifications#readme"
5145
Issues = "https://github.com/openedx/tutor-contrib-notifications/issues"
5246
Source = "https://github.com/openedx/tutor-contrib-notifications"
5347

54-
[build-system]
55-
requires = ["hatchling"]
56-
build-backend = "hatchling.build"
57-
58-
[tool.hatch.build.targets.wheel]
59-
packages = ["tutornotifications"]
60-
61-
[tool.hatch.build.targets.sdist]
62-
# Disable strict naming, otherwise twine is not able to detect name/version
63-
strict-naming = false
64-
include = [ "/tutornotifications"]
65-
exclude = ["tests*"]
6648

6749
[project.entry-points."tutor.plugin.v1"]
6850
notifications = "tutornotifications.plugin"
51+
52+
[tool.setuptools.dynamic]
53+
version = {attr = "tutornotifications.__about__.__version__"}

0 commit comments

Comments
 (0)