Skip to content

Commit

Permalink
Merge pull request #10 from ika-rwth-aachen/fix/locale
Browse files Browse the repository at this point in the history
Fix locale issue if LC_ALL is unset
  • Loading branch information
lreiher authored Jul 5, 2024
2 parents 49d2cf3 + 703b011 commit c860e85
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Publish to PyPI

on: push
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
publish:
Expand All @@ -20,12 +26,14 @@ jobs:
run: python3 -m pip install --user build
- name: Build wheel and tarball
run: python3 -m build --sdist --wheel --outdir dist/ ${{ matrix.package }}
- name: Publish to TestPyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
# TestPyPI currently disabled cause `skip-existing: true` is not honored
# https://github.com/pypa/gh-action-pypi-publish/issues/201
# - name: Publish to TestPyPI
# uses: pypa/[email protected]
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository-url: https://test.pypi.org/legacy/
# skip-existing: true
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Institute for Automotive Engineering (ika), RWTH Aachen University
Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion docker-run-cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "docker-run-cli"
version = "0.9.7"
version = "0.9.8"
description = "'docker run' and 'docker exec' with useful defaults"
license = {file = "LICENSE"}
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion docker-run-cli/src/docker_run/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__name__ = "docker-run"
__version__ = "0.9.7"
__version__ = "0.9.8"
2 changes: 1 addition & 1 deletion docker-run-cli/src/docker_run/plugins/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def timezoneFlags(cls) -> List[str]:

@classmethod
def localeFlags(cls) -> List[str]:
return ["--env LANG", "--env LANGUAGE", "--env LC_ALL"]
return ["--env LANG", "--env LANGUAGE", "--env LC_ALL=C"]

@classmethod
def gpuSupportFlags(cls) -> List[str]:
Expand Down

0 comments on commit c860e85

Please sign in to comment.