92 Commits

Author SHA1 Message Date
Régis Behmo
06fd645d44
Merge pull request #37 from overhangio/redwood
* feat: adding python 3.12 support (#36)

* feat: adding first version of Dockerfile Python3.12 compatible

* ci: add python 3.12 checks

* feat: upgrade to redwood
v18.0.0
2024-06-20 03:12:10 +02:00
jfavellar90
6d3685a573 feat: upgrade to redwood 2024-06-20 01:13:57 +02:00
Jhony Avella
20ec2c8b99
feat: adding python 3.12 support (#36)
* feat: adding first version of Dockerfile Python3.12 compatible

* ci: add python 3.12 checks
2024-04-29 11:28:19 -05:00
Régis Behmo
f68719de86 ci: don't even try to auto-add PRs to github project
Auto-adding PRs to the Github project is not working because the
github-token is not available there.
2024-03-05 12:03:03 +05:00
Régis Behmo
8b1c93d900 ci: remove now useless OPENEDX_RELEASE variable 2024-02-20 15:15:40 +01:00
Régis Behmo
c5bd0acab1 fix: remove pkg_resources for compatibility with python 3.12
pkg_resources is a package that is unavailable in python 3.12, unless
setuptools is explicitely installed. Turns out, there are replacement
functions coming from importlib_resources, which can be obtained from
the importlib-resources pypi package. This package will be installed
with tutor starting from 17.0.2.
2024-02-12 11:57:51 +01:00
Régis Behmo
795ea5966e ci: auto-add issues and items to github project 2024-01-12 12:33:35 +01:00
jfavellar90
0d0128210c feat: upgrade to Quince v17.0.0 2023-12-11 18:12:10 +01:00
Régis Behmo
0751918e6a local.overhang.io -> local.edly.io
This is related to https://github.com/overhangio/tutor/issues/945
2023-12-09 15:54:28 +01:00
Overhang.IO
74c85b1edd Merge remote-tracking branch 'origin/master' into nightly 2023-12-08 18:37:47 +00:00
Emad Rad
58f8abc339
fix: dev dependency 2023-12-08 19:32:56 +01:00
Overhang.IO
2d32da1245 Merge remote-tracking branch 'origin/master' into nightly 2023-12-06 15:17:43 +00:00
Régis Behmo
1c349e00c2 chore: format 2023-12-06 16:13:29 +01:00
Régis Behmo
305e008ea0 Merge branch 'master' into nightly 2023-12-05 12:10:56 +01:00
Régis Behmo
98a00ecb58 docs: docs.tutor.overhang.io -> docs.tutor.edly.io
See: https://github.com/overhangio/tutor/issues/945
2023-12-05 11:45:48 +01:00
Emad Rad
727d500bf5 Feat: Testing and Linting (#31)
* ci: test action added

* chore: changelog entry added

* feat: Makefile added

* fix: typing added

* chore: cleanup with isort and black
2023-11-24 08:25:04 +01:00
Régis Behmo
f88afe05c3 feat: simplify nightly version management
By pulling the version suffix from tutor, we avoid git conflicts when
merging the release branch in nightly.
2023-11-24 08:25:02 +01:00
Emad Rad
d4a4274bc4
Feat: Testing and Linting (#31)
* ci: test action added

* chore: changelog entry added

* feat: Makefile added

* fix: typing added

* chore: cleanup with isort and black
2023-11-23 18:05:41 -05:00
Régis Behmo
cb08b63217
fix: add missing pkg-config package (#30)
Build fails in nightly with the following error:

	#27 4.029   × Getting requirements to build wheel did not run
	    successfully.
	#27 4.029   │ exit code: 1
	#27 4.029   ╰─> [24 lines of output]
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       Trying pkg-config --exists mysqlclient
	#27 4.029       Command 'pkg-config --exists mysqlclient' returned
	    non-zero exit status 127.
	#27 4.029       Trying pkg-config --exists mariadb
	#27 4.029       Command 'pkg-config --exists mariadb' returned non-zero
	    exit status 127.
	#27 4.029       Traceback (most recent call last):
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 353, in <module>
	#27 4.029           main()
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 335, in main
	#27 4.029           json_out['return_val'] =
	    hook(**hook_input['kwargs'])
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 118, in get_requires_for_build_wheel
	#27 4.029           return hook(config_settings)
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 355, in get_requires_for_build_wheel
	#27 4.029           return self._get_build_requires(config_settings,
	    requirements=['wheel'])
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 325, in _get_build_requires
	#27 4.029           self.run_setup()
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 341, in run_setup
	#27 4.029           exec(code, locals())
	#27 4.029         File "<string>", line 154, in <module>
	#27 4.029         File "<string>", line 48, in get_config_posix
	#27 4.029         File "<string>", line 27, in find_package_name
	#27 4.029       Exception: Can not find valid pkg-config name.
	#27 4.029       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env
	    vars manually
2023-11-21 06:40:11 -05:00
Régis Behmo
16012432a1 feat: simplify nightly version management
By pulling the version suffix from tutor, we avoid git conflicts when
merging the release branch in nightly.
2023-11-20 17:39:47 +01:00
Overhang.IO
0768eafd7e Merge remote-tracking branch 'origin/master' into nightly 2023-11-15 00:23:49 +00:00
jfavellar90
43af20751e v16.0.2 v16.0.2 2023-11-14 19:19:45 -05:00
Overhang.IO
8c4f872756 Merge remote-tracking branch 'origin/master' into nightly 2023-10-03 06:34:28 +00:00
Régis Behmo
87007e4d69 chore: mark compatibility with python 3.12 2023-10-03 08:23:48 +02:00
Overhang.IO
3ca1417597 Merge remote-tracking branch 'origin/master' into nightly 2023-09-07 16:50:48 +00:00
Régis Behmo
56696de37f fix: nightly package version
The package version may not include the "-nightly" suffix. Otherwise,
`pip install .` fails with:

    setuptools.extern.packaging.version.InvalidVersion: Invalid version: '...-nightly'
2023-09-07 18:39:53 +02:00
Overhang.IO
2b78e58e8a Merge remote-tracking branch 'origin/master' into nightly 2023-08-28 09:52:26 +00:00
Serkan Özdemir
ebee348f04
docs: remind to run local launch after installation 2023-08-28 11:48:23 +02:00
Régis Behmo
f8c28346a5 Merge branch 'master' into nightly 2023-08-09 10:35:26 +02:00
jfavellar90
73b0e10df0 v16.0.1 v16.0.1 2023-08-04 08:14:55 -05:00
Overhang.IO
0093976541 Merge remote-tracking branch 'origin/master' into nightly 2023-07-31 13:39:25 +00:00
Jhony Avella
fcffe6f3ed
chore: remove notes permissions container. (#24)
chore: remove notes permissions container

There is now a single "permissions" container that makes all permission changes in Tutor core
2023-07-31 15:34:52 +02:00
Régis Behmo
581f986729 Merge branch 'master' into nightly 2023-06-15 01:09:31 +02:00
Jhony Avella
702e029d55
feat: upgrade to Palm v16.0.0 2023-06-15 01:03:44 +02:00
Régis Behmo
a7ad3758b5 fix: nightly package version
The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:

   setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
2023-05-26 18:47:48 +02:00
Régis Behmo
5d6580c82b feat: label nightly version
This is to address https://github.com/overhangio/tutor-mfe/issues/122
As a consequence of this change, images will be tagged with a "-nightly"
suffix. Next, we'll probably have to build them periodically in CI.
2023-05-26 18:26:28 +02:00
Régis Behmo
2da25c576c ci: improve compatibility with main & nightly 2023-05-26 16:49:26 +02:00
Régis Behmo
f38f473fd4 chore: handle nightly version numbers
Here, we make it possible to add a "-nightly" suffix to the package
version. This suffix will find its way to the Docker image tags. Thus,
the nightly branch will have different image tags. This will resolve
some confusion, as image tags are currently identical in nightly and
master.
2023-05-26 16:28:10 +02:00
Régis Behmo
6769141f8d docs: fix lingering i char in changelog
Damn you vim!
2023-05-22 09:38:30 +02:00
Régis Behmo
3f65c71cc2 docs: add a scriv-managed changelog
This will be useful for tracking changes across releases.

This partly addresses https://github.com/overhangio/tutor/issues/746
2023-05-19 16:19:56 +02:00
Régis Behmo
3358ee7e1d fix: build-time warning
Installing from source triggers a warning on pip 23.0.1 if
pyproject.toml is not present. Building does not require any special
dependencies, so we just add a simple pyproject.toml file.

See: https://github.com/overhangio/tutor/issues/836
2023-05-17 10:24:21 +02:00
Régis Behmo
7944ea3c91 docs: instruct to install from index 2023-05-16 10:08:58 +02:00
Jhony Avella
490aad8a53 v15.0.4 v15.0.4 2023-04-13 10:39:37 -05:00
Navin Karkera
d55b36e6b7 fix: build elasticsearch index during initialization
The elasticsearch index needs to be created on initialization else notes
search functionality does not work.
2023-04-13 15:30:31 +02:00
Jhony Avella
59ac93a9a9 v15.0.3 v15.0.3 2023-03-20 13:05:51 -05:00
Felipe Montoya
c30b8dc50d
chore: adding license file (#21) 2023-03-20 13:03:27 -05:00
Régis Behmo
709ca5c4d0 v15.0.2 v15.0.2 2023-02-28 09:37:03 +01:00
Jhony Avella
527c3e9738
feat: allowing customization of notes repo and version 2023-02-28 09:36:13 +01:00
Régis Behmo
c1360c4811 ci: upgrade checkout action 2023-02-27 11:54:56 +01:00
Jhony Avella
2115016847 v15.0.1 v15.0.1 2023-02-24 09:13:01 -05:00