Commit Graph
456 Commits
Author SHA1 Message Date
Nicola Soranzo 4e650b4e9a Fix test_singularity_container_test test
(which started failing since ubuntu-latest was moved to 24.04)
by upgrading apptainer to >=1.3.3 to include
https://github.com/apptainer/apptainer/pull/2262 .

Fix:

```
>       assert "samtools:1.0--1" in results["passed"], results
E       AssertionError:
E       {'failed': [{'commands': ['python -c "import pyBigWig; assert(pyBigWig.numpy '
E                                 '== 1); assert(pyBigWig.remote == 1)"'],
E                    'container': 'pybigwig:0.3.22--py36h54a71a5_0',
E                    'errors': [{'command': 'python -c "import pyBigWig; '
E                                           'assert(pyBigWig.numpy == 1); '
E                                           'assert(pyBigWig.remote == 1)"',
E                                'output': '\x1b[91mERROR  : Could not write info to '
E                                          'setgroups: Permission denied\n'
E                                          '\x1b[0m\x1b[91mERROR  : Error while '
E                                          'waiting event for user namespace mappings: '
E                                          'no event received\n'
E                                          '\x1b[0m'},
E                               {'import': 'pyBigWig',
E                                'output': '\x1b[91mERROR  : Could not write info to '
E                                          'setgroups: Permission denied\n'
E                                          '\x1b[0m\x1b[91mERROR  : Error while '
E                                          'waiting event for user namespace mappings: '
E                                          'no event received\n'
E                                          '\x1b[0m'}],
E                    'import_lang': 'python -c',
E                    'imports': ['pyBigWig']},
E                   {'commands': ['samtools view --help 2>&1 | grep Notes > /dev/null'],
E                    'container': 'samtools:1.0--1',
E                    'errors': [{'command': 'samtools view --help 2>&1 | grep Notes > '
E                                           '/dev/null',
E                                'output': '\x1b[91mERROR  : Could not write info to '
E                                          'setgroups: Permission denied\n'
E                                          '\x1b[0m\x1b[91mERROR  : Error while '
E                                          'waiting event for user namespace mappings: '
E                                          'no event received\n'
E                                          '\x1b[0m'}],
E                    'import_lang': 'python -c'}],
E        'notest': ['yasm:1.3.0--0'],
E        'passed': []}
E       assert 'samtools:1.0--1' in []
```

Also:
- Improve assertion messages to facilitate debugging
2024-12-17 21:07:36 +00:00
Nicola Soranzo 0991d59754 Merge branch 'release_24.1' into release_24.2 2024-12-10 14:40:02 +00:00
Nicola Soranzo e5f0a8c4eb Merge branch 'release_24.0' into release_24.1 2024-12-10 10:51:03 +00:00
ArashandNicola Soranzo afdfa789f1 Refactor version extraction in PR title update workflow for improved accuracy
Co-authored-by: Nicola Soranzo <nicola.soranzo@earlham.ac.uk>
2024-11-26 12:20:19 +01:00
Arash f3e65fa1b9 Refactor PR title update workflow to handle version extraction and title formatting more efficiently 2024-11-25 11:39:58 +01:00
Nicola Soranzo 09d86951b1 Update title of edited PRs only if base ref changed
Also:
- Update title of reopened PRs too.
- Don't unnecessarily checkout the repo.
2024-11-22 12:16:03 +00:00
mvdbeek 85674cd3d1 Bump default milestone to 25.0 2024-11-12 16:05:19 +01:00
Nicola Soranzo 84742ee141 Run `uv lock` under Python 3.9
Fix:

```
Using CPython 3.8.18 interpreter at: /opt/hostedtoolcache/Python/3.8.18/x64/bin/python
  × No solution found when resolving dependencies for split
  │ (python_full_version == '3.9.*'):
  ╰─▶ Because only the following versions of rucio-clients{python_full_version >= '3.9'} are available:
          rucio-clients{python_full_version >= '3.9'}<=33.6.1
          rucio-clients{python_full_version >= '3.9'}>=34.0.0,<=34.6.0
          rucio-clients{python_full_version >= '3.9'}>=35.0.0
      and all of:
          rucio-clients{python_full_version >= '3.9'}>=33.6.0,<=33.6.1
          rucio-clients{python_full_version >= '3.9'}>=34.0.0,<=34.6.0
          rucio-clients{python_full_version >= '3.9'}>=35.0.0
      require Python >=3.9, <4, we can conclude that all of:
          rucio-clients{python_full_version >= '3.9'}>=33.6.0,<33.6.1
          ...
          rucio-clients{python_full_version >= '3.9'}>35.4.1,<35.5.0
          rucio-clients{python_full_version >= '3.9'}>35.5.0
       are incompatible.
      And because galaxy:dev depends on rucio-clients{python_full_version >=
      '3.9'}>=33.6.0 and your project depends on galaxy:dev, we can conclude
      that your project's requirements are unsatisfiable.

      hint: The source distribution for rucio-clients{python_full_version >=
      '3.9'}==35.5.0 does not include static metadata. Generating metadata for
      this package requires Python >=3.9, <4, but Python 3.8.18 is installed.
```

See https://github.com/galaxyproject/galaxy/actions/runs/11684632042/job/32536277008
2024-11-05 23:45:33 +00:00
Nicola Soranzo 695e86eaa7 Test under Python 3.13 2024-10-31 12:09:21 +00:00
Nicola Soranzo 93078d949a Replace poetry with uv
for lightning-fast Python dependency updates.

To update all dependencies (as done by the GitHub action):

$ make update-dependencies

To update only one package:

./lib/galaxy/dependencies/update.sh -p <PKG>
2024-10-31 10:22:52 +00:00
Björn Grüning d4b2b83310 Merge pull request #19002 from jmchilton/do_not_skip_ci_tests_on_missing_tools
Do not skip CI tests on missing tools.
2024-10-29 18:02:27 +01:00
Nicola Soranzo ed07d87cf7 Merge branch 'release_24.0' into release_24.1 2024-10-22 15:52:23 +01:00
Matthias Bernt b71b6ef22e update osx startup workflow
to use miniforge
2024-10-21 21:31:56 +02:00
Arash Kadkhodaei 677c90bd0b PR title update workflow 2024-10-17 10:13:43 +02:00
John Chilton d3e0e28ce3 Do not skip CI tests on missing tools. 2024-10-15 16:02:27 -04:00
John Chilton 12fed2add3 Swap workflow framework tests to do a rerun. 2024-10-15 09:12:05 -04:00
Nicola Soranzo 70bea1b935 Define environment variables in `env:` section
Fix potential command injection via PR title, see

https://securitylab.github.com/resources/github-actions-untrusted-input/
2024-10-14 11:56:50 +01:00
Nicola Soranzo 3b4cfedaed Merge pull request #18835 from arash77/Update-PR-Title-Workflow
Add workflow to update PR title based on target branch version
2024-10-14 09:53:23 +01:00
ArashandNicola Soranzo 9433ecef18 Using github action contexts instead of gh CLI
Co-authored-by: Nicola Soranzo <nicola.soranzo@earlham.ac.uk>
2024-10-14 10:51:13 +02:00
Arash KadkhodaeiandNicola Soranzo f4ffa9d74b More generic and shorter title
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2024-10-11 13:50:20 +02:00
Nicola Soranzo 6dc681dc01 Merge pull request #18975 from arash77/bioblend_tests
Add BioBlend tests
2024-10-11 07:18:14 +01:00
Arash KadkhodaeiandNicola Soranzo 17cfc6df5f virtualenv was only needed by old Galaxy versions.
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2024-10-11 01:00:43 +02:00
Arash b5d1432818 checkout first as it need to run git commands 2024-10-10 18:43:39 +02:00
Arash KadkhodaeiandNicola Soranzo 95e6d4cf73 No need to test BioBlend's interactions with the Test ToolShed.
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2024-10-10 17:51:42 +02:00
ArashandNicola Soranzo ece4b6708b Apply suggestions
Drop galaxy_version and os from matrix and use galaxy_python_version.
Use actions/checkout instead of git clone.

Co-authored-by: Nicola Soranzo <nicola.soranzo@earlham.ac.uk>
2024-10-10 17:45:04 +02:00
Arash c03bb67505 Format bioblend workflow 2024-10-10 16:44:04 +02:00
Arash 93b7212e6a Update bioblend test script path 2024-10-10 16:41:06 +02:00
Arash 8c273c9d83 use bioblend repo instead of put the run test file in galaxy repo 2024-10-10 16:35:44 +02:00
mvdbeek ac40e41d96 Pin ubuntu 22.04 for minikube setup action
The `ubuntu-latest` runner label is moving to 24.04, see https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/

Fixes https://github.com/galaxyproject/galaxy/actions/runs/11260477825/job/31317049837?pr=18963:
```
No VM guests are running outdated hypervisor (qemu) binaries on this host.
/usr/bin/lsb_release --short --codename
noble
Error: Unexpected HTTP response: 404
```
2024-10-10 12:29:05 +01:00
Nicola Soranzo 385a5863da Merge branch 'release_24.1' into dev 2024-10-10 11:32:47 +01:00
Nicola Soranzo dd9ca09127 Merge branch 'release_24.0' into release_24.1 2024-10-10 11:31:30 +01:00
Nicola Soranzo f6200f83dd Merge branch 'release_23.2' into release_24.0 2024-10-10 11:30:51 +01:00
Arash e3fb5bd27c add bioblend tests 2024-10-10 11:50:26 +02:00
mvdbeek 0df29dd5e8 Pin ubuntu 22.04 for minikube setup action
The `ubuntu-latest` runner label is moving to 24.04, see https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/

Fixes https://github.com/galaxyproject/galaxy/actions/runs/11260477825/job/31317049837?pr=18963:
```
No VM guests are running outdated hypervisor (qemu) binaries on this host.
/usr/bin/lsb_release --short --codename
noble
Error: Unexpected HTTP response: 404
```
2024-10-09 22:04:47 +02:00
Nicola Soranzo 70e1fad3d9 Pin Ubuntu to 22.04 for Python 3.7 workflow
Fix the following error at the setup-python step:

```
Version 3.7 was not found in the local cache
Error: The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
```

See e.g. https://github.com/galaxyproject/galaxy/actions/runs/11252595341/job/31294713655
2024-10-09 15:19:39 +01:00
Nicola Soranzo 01512cb159 Merge branch 'release_24.1' into dev 2024-10-09 10:55:01 +01:00
Nicola Soranzo 80a99f5533 Merge branch 'release_24.0' into release_24.1 2024-10-09 10:52:40 +01:00
Nicola Soranzo 31095a0e04 Pin black version to 24.8.0 in workflow action
black 24.10.0 has dropped support for Python 3.8 .
2024-10-08 17:18:43 +01:00
Arash Kadkhodaei d3c9e0354c Trigger workflow on edited PR 2024-09-17 18:29:52 +02:00
Arash e5acd13f02 use branches instead of if in the job, add permissions 2024-09-17 18:21:40 +02:00
Arash KadkhodaeiandNicola Soranzo 17a124ef43 Use pull_request_target instead of pull_request
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2024-09-17 18:02:42 +02:00
Arash 4160c31377 Add workflow to update PR title based on target branch version 2024-09-17 17:36:47 +02:00
Nuwan Goonasekera 0d4cb1091f Merge pull request #18514 from Bioconductor/dev
Improvements for K8S deployment (especially ITs)
2024-09-10 23:37:24 +05:30
Nicola Soranzo d3c369fc45 Drop caching the tox env when Python is installed via conda 2024-09-09 00:48:21 +01:00
Nicola Soranzo 30d2443a2b Cache pip directory as part of setup-python action 2024-09-08 19:37:04 +01:00
Matthias Bernt 9c9b52d5a6 update osx startup workflow
to use miniforge
2024-09-02 12:06:10 +02:00
John Chilton f6fcc95099 Setup workflow test framework. 2024-07-29 09:19:09 -04:00
Nicola Soranzo 945bd5db13 Sync cwl_conformance GitHub workflow with api one 2024-07-12 18:26:26 +01:00
Nicola Soranzo 269ec402e9 Merge branch 'release_24.1' into dev 2024-07-09 10:37:31 +01:00
Nicola Soranzo af6e28d01a Merge branch 'release_24.0' into release_24.1 2024-07-09 10:36:20 +01:00