Skip to content

Commit 0c791d7

Browse files
committed
Merge remote-tracking branch 'origin/develop' into meson-arch
2 parents f7c925f + 665a3fa commit 0c791d7

File tree

670 files changed

+12202
-6752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

670 files changed

+12202
-6752
lines changed

.ci/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.ci/head-tail.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

.ci/pull-gitlab.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

.ci/push-dockerhub.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

.ci/push-gitlab.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

.ci/test-cli.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

.ci/test-dev.sh

Lines changed: 0 additions & 46 deletions
This file was deleted.

.ci/test-jupyter.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

.devcontainer/onCreate-conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ conda config --env --add channels conda-forge
66
conda config --env --set channel_priority strict
77
conda update -y --all --override-channels -c conda-forge
88
conda install mamba=1 -n base -y
9-
mamba env create -y --file environment-3.11-linux.yml || mamba env update -y --file environment-3.11-linux.yml
9+
mamba env create -y --file environment-3.11-linux.yml || mamba env update --file environment-3.11-linux.yml
1010
conda init bash
1111

1212
# Build sage
13-
conda run -n sage-dev pip install --no-build-isolation -v -v -e .
13+
conda run -n sage-dev pip install --no-build-isolation -v -v -e . --config-settings=build-dir="build/conda-cp311"

.github/sync_labels.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from json import loads
2323
from enum import Enum
2424
from datetime import datetime, timedelta
25+
import subprocess
2526
from subprocess import check_output, CalledProcessError
2627

2728
datetime_format = '%Y-%m-%dT%H:%M:%SZ'
@@ -631,14 +632,16 @@ def gh_cmd(self, cmd, arg, option):
631632
issue = 'issue'
632633
if self._pr:
633634
issue = 'pr'
635+
# workaround for gh bug https://github.com/cli/cli/issues/11055, it cannot deduce repo from url automatically
636+
repo = '/'.join(self._url.split('/')[:5])
634637
if arg:
635-
cmd_str = 'gh %s %s %s %s "%s"' % (issue, cmd, self._url, option, arg)
638+
cmd_str = 'gh --repo %s %s %s %s %s "%s"' % (repo, issue, cmd, self._url, option, arg)
636639
else:
637-
cmd_str = 'gh %s %s %s %s' % (issue, cmd, self._url, option)
640+
cmd_str = 'gh --repo %s %s %s %s %s' % (repo, issue, cmd, self._url, option)
638641
debug('Execute command: %s' % cmd_str)
639642
ex_code = os.system(cmd_str)
640643
if ex_code:
641-
warning('Execution of %s failed with exit code: %s' % (cmd_str, ex_code))
644+
raise RuntimeError('Execution of %s failed with exit code: %s' % (cmd_str, ex_code))
642645

643646
def edit(self, arg, option):
644647
r"""

0 commit comments

Comments
 (0)