Skip to content

Commit

Permalink
fix(backend): del en_US.UTF-8 locale requirement
Browse files Browse the repository at this point in the history
Remove abusive en_US.UTF-8 hardcoded locale requirement for agent and
gateway uwsgi services. These services should work on all systems with
correct systems locales that match loaded files encoding. There is no
reason to require en_US.UTF-8 specifically.

fix #432
  • Loading branch information
rezib committed Feb 3, 2025
1 parent 6c89ef1 commit 52e4f4a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update configuration reference documentation.

### Fixed
- backend: Remove `en_US.UTF-8` locale requirement for uwsgi services (#432).
- agent: Fix No module named 'werkzeug.middleware' ModuleNotFoundError with
Werkzeug < 0.15 (#419→420).
- frontend:
Expand Down
1 change: 0 additions & 1 deletion lib/wsgi/agent/slurm-web-agent.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[uwsgi]
env = LANG=en_US.UTF-8
plugin = python3

wsgi-file = /usr/share/slurm-web/wsgi/agent/slurm-web-agent.py
Expand Down
1 change: 0 additions & 1 deletion lib/wsgi/gateway/slurm-web-gateway.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[uwsgi]
env = LANG=en_US.UTF-8
plugin = python3

wsgi-file = /usr/share/slurm-web/wsgi/gateway/slurm-web-gateway.py
Expand Down

0 comments on commit 52e4f4a

Please sign in to comment.