208 Commits

Author SHA1 Message Date
Régis Behmo
21b82de63f fix: missing pkg-config in image build
Build was failing with the following error during the installation of
mysqlclient==2.2.0:

	#39 22.19 Collecting mysqlclient==2.2.0 (from -r requirements/production.txt (line 435))
	#39 22.20   Downloading mysqlclient-2.2.0.tar.gz (89 kB)
	#39 22.20      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.5/89.5 kB 95.8 MB/s eta 0:00:00
	#39 22.24   Installing build dependencies: started
	#39 24.79   Installing build dependencies: finished with status 'done'
	#39 24.81   Getting requirements to build wheel: started
	#39 25.07   Getting requirements to build wheel: finished with status 'error'
	#39 25.08   error: subprocess-exited-with-error
	#39 25.08
	#39 25.08   × Getting requirements to build wheel did not run successfully.
	#39 25.08   │ exit code: 1
	#39 25.08   ╰─> [24 lines of output]
	#39 25.08       /bin/sh: 1: pkg-config: not found
	#39 25.08       /bin/sh: 1: pkg-config: not found
	#39 25.08       Trying pkg-config --exists mysqlclient
	#39 25.08       Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.
	#39 25.08       Trying pkg-config --exists mariadb
	#39 25.08       Command 'pkg-config --exists mariadb' returned non-zero exit status 127.
	#39 25.08       Traceback (most recent call last):
	#39 25.08         File "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
	#39 25.08           main()
	#39 25.08         File "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
	#39 25.08           json_out['return_val'] = hook(**hook_input['kwargs'])
	#39 25.08         File "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
	#39 25.08           return hook(config_settings)
	#39 25.08         File "/tmp/pip-build-env-5hyrozx4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
	#39 25.08           return self._get_build_requires(config_settings, requirements=['wheel'])
	#39 25.08         File "/tmp/pip-build-env-5hyrozx4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
	#39 25.08           self.run_setup()
	#39 25.08         File "/tmp/pip-build-env-5hyrozx4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
	#39 25.08           exec(code, locals())
	#39 25.08         File "<string>", line 154, in <module>
	#39 25.08         File "<string>", line 48, in get_config_posix
	#39 25.08         File "<string>", line 27, in find_package_name
	#39 25.08       Exception: Can not find valid pkg-config name.
	#39 25.08       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
	#39 25.08       [end of output]
2023-09-08 09:53:08 +02:00
Overhang.IO
bddd793bfd Merge remote-tracking branch 'origin/master' into nightly 2023-09-07 16:59:00 +00:00
Régis Behmo
b5c266efdb 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
Régis Behmo
06536ceb4d Merge branch 'master' into nightly 2023-06-15 01:01:23 +02:00
Muhammad Faraz Maqsood
286acdae0b feat: upgrade to palm v16.0.0 2023-06-15 00:42:53 +02:00
Régis Behmo
f09d6140ec 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
e8cf712a0b 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
Overhang.IO
3c3bfc7ce6 Merge remote-tracking branch 'origin/master' into nightly 2023-05-26 15:09:07 +00:00
Régis Behmo
54bacd664e ci: improve compatibility with main & nightly 2023-05-26 16:49:26 +02:00
Régis Behmo
dbcf969a7a 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
Overhang.IO
4f96218a16 Merge remote-tracking branch 'origin/master' into nightly 2023-05-22 08:00:39 +00:00
Régis Behmo
89dc4fada1 docs: fix lingering i char in changelog
Damn you vim!
2023-05-22 09:38:30 +02:00
Overhang.IO
3d826a8be5 Merge remote-tracking branch 'origin/master' into nightly 2023-05-19 14:49:10 +00:00
Régis Behmo
36c5331563 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
Overhang.IO
f1b6b8b407 Merge remote-tracking branch 'origin/master' into nightly 2023-05-17 08:55:48 +00:00
Régis Behmo
c95794ccfa 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
Overhang.IO
1bd27b2a05 Merge remote-tracking branch 'origin/master' into nightly 2023-05-16 08:37:46 +00:00
Régis Behmo
3a5c8280c7 docs: instruct to install from index 2023-05-16 10:08:58 +02:00
Overhang.IO
9b91f852f2 Merge remote-tracking branch 'origin/master' into nightly 2023-05-03 15:59:56 +00:00
Navin Karkera
38a538a675 feat: extra pip requirements 2023-05-03 17:49:14 +02:00
Overhang.IO
905e746c07 Merge remote-tracking branch 'origin/master' into nightly 2023-02-27 11:09:13 +00:00
Régis Behmo
a8f8e064aa ci: upgrade checkout action 2023-02-27 11:55:06 +01:00
Overhang.IO
64e23d4ccd Merge remote-tracking branch 'origin/master' into nightly 2022-12-31 17:11:09 +00:00
Abderraouf Mehdi Bouhali
c0fadf4faa fix(build): load NPM_REGISTRY from config 2022-12-31 18:08:39 +01:00
Régis Behmo
dd71d26bd3 Merge branch 'master' into nightly 2022-12-12 19:28:52 +01:00
Régis Behmo
36bbec4a9e feat: upgrade to olive v15.0.0 2022-12-12 19:23:02 +01:00
Overhang.IO
bf23584cb8 Merge remote-tracking branch 'origin/master' into nightly 2022-12-12 18:08:07 +00:00
Carlos Muniz
c68f96a1d7 docs: change quickstart to launch
This change is due to renaming quickstart to launch in tutor.
2022-12-12 18:56:13 +01:00
Régis Behmo
aa9053c49f feat: upgrade to olive 2022-12-12 18:56:13 +01:00
Overhang.IO
9242fadbaa Merge remote-tracking branch 'origin/master' into nightly 2022-11-21 17:22:40 +00:00
Régis Behmo
fec9f3202c v14.0.2 v14.0.2 2022-11-21 18:13:03 +01:00
Overhang.IO
0bcaa5adae Merge remote-tracking branch 'origin/master' into nightly 2022-11-21 17:12:03 +00:00
Régis Behmo
36d0e80625 v14.0.2 2022-11-21 18:08:55 +01:00
Overhang.IO
51f713ccf4 Merge remote-tracking branch 'origin/master' into nightly 2022-11-21 16:05:10 +00:00
Régis Behmo
6a1840388f v14.0.2 2022-11-21 17:01:52 +01:00
Overhang.IO
cda167ca9b Merge remote-tracking branch 'origin/master' into nightly 2022-11-21 15:58:58 +00:00
Régis Behmo
8cdb63b4f7 v14.0.2wq 2022-11-21 16:55:38 +01:00
Régis Behmo
27b76c0096 fix: rsa_import_key is undefined
See: https://discuss.openedx.org/t/tutor-4-2-0-rsa-import-key-is-undefined/8763/1
2022-11-21 16:55:09 +01:00
Overhang.IO
0a04dff196 Merge remote-tracking branch 'origin/master' into nightly 2022-11-10 15:12:59 +00:00
Régis Behmo
90e007920b docs: make it clear who is maintaining this plugin 2022-11-10 16:09:52 +01:00
Régis Behmo
6bbb79e11f ci: fix nutmeg target 2022-11-10 16:03:25 +01:00
Régis Behmo
24aed9354b ci: fix nutmeg target 2022-11-10 15:51:28 +01:00
Carlos Muniz
d2d72b2d9f docs: change quickstart to launch
This change is due to renaming quickstart to launch in tutor.
2022-10-03 14:03:05 +02:00
Régis Behmo
84886feaa7 v14.0.1 v14.0.1 2022-07-04 06:24:49 +02:00
Régis Behmo
a1eef4cd78 chore: simplify DJANGO_SETTINGS_MODULE configuration
The Docker image now defaults to the tutor production settings, which allows us
to remove the environment variable from the docker-compose and k8s
configuration files.
2022-07-04 06:24:49 +02:00
Régis Behmo
eac59cd82d fix: ConnectionError during init
Since we introduced `tutor dev quickstart`, we must be able to initialize the
discovery container in dev mode. The problem is that the "openedx" partner is
unavailable in dev mode. Thus, we need to default to the "dev" partner in dev
mode.

Close #33.
2022-07-04 06:24:49 +02:00
Régis Behmo
778b698084 feat: upgrade to nutmeg 2022-06-09 21:39:43 +02:00
Kyle McCormick
d2f4ea6f35 feat: open stdin & allocate tty on dev services
This ensures that services started with `tutor dev start`
are as capable for breakpoint debugging, et al, as services
started with `tutor dev runserver` are. We plan to remove
`tutor dev runserver`.
2022-04-21 14:47:27 +02:00
Régis Behmo
6ee17f6788 v13.0.1 2022-04-20 19:37:56 +02:00
Sofiane Bebert
dc47b220a7 fix: Fix 502 error on editing course metadata
The uwsgi buffer size was too small to account for large headers in requests with datatables query parameters. This issue is resolved by increasing the buffer size.  See docs: https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html

Close #24
2022-04-20 19:37:20 +02:00