Commit Graph
462 Commits
Author SHA1 Message Date
mvdbeek 8468284d44 Bump up python for for pulsar package tests
We kept it going for another 2 years almost, but
https://github.com/galaxyproject/galaxy/pull/20511 breaks 3.7 (at least
for test validation, which isn't super-critical for pulsar I think?).
2025-07-08 16:37:23 +01:00
Nicola Soranzo cc26ab7834 Merge branch 'release_24.2' into release_25.0 2025-06-20 13:00:45 +01:00
mvdbeek d499501ab0 Add id-token: write for npm publishing 2025-06-19 10:12:10 +02:00
Martin Cech 9d95072c7f fix next milestone
25.1 is GH milestone id 31
2025-05-14 09:03:38 +02:00
mvdbeek 340caea77d Bump default milestone to 25.1 2025-05-09 12:52:58 +02:00
Arash 0ab38db4d8 Set persist-credentials to false in GitHub workflows 2025-05-06 16:51:29 +02:00
Nicola Soranzo 3fd2dd909a Run tests on latest Ubuntu
The `medyagh/setup-minikube` action now supports Ubuntu 24.04 (noble):

https://github.com/medyagh/setup-minikube/pull/639
2025-04-30 18:15:02 +01:00
Dannon Baker 867dba2d66 Single point of control for node version handling; read it from the .node_version file on disk in relevant actions. 2025-04-25 10:22:09 -04:00
Dannon Baker 023412ffa2 Bump github action node to 22.15.0 2025-04-25 10:02:45 -04:00
Dannon Baker 47c31d1d46 Bump jest/lint node versions, use specific pinned ver 2025-04-22 09:10:24 -04:00
Dannon Baker f611918142 Test w/ node version 20 in advance of updating default Galaxy pinned nodejs 2025-04-22 09:10:24 -04:00
mvdbeek 3c6b6c5971 Merge branch 'release_24.2' into dev 2025-03-26 09:51:08 +01:00
mvdbeek 648239a31f Merge branch 'release_24.1' into release_24.2 2025-03-26 09:48:18 +01:00
mvdbeek 953a972349 Merge branch 'release_24.0' into release_24.1 2025-03-26 09:44:07 +01:00
Nicola Soranzo 302acfbc93 Ignore changes to `packages/` in most CI workflows 2025-03-25 15:28:33 +00:00
Nicola Soranzo 5d9c96523c Merge branch 'release_24.2' into dev 2025-03-24 11:56:12 +00:00
mvdbeek 8f66f5168a Publish pre-built client with point-release 2025-03-23 18:12:45 +01:00
Nicola Soranzo 05b9467c35 Merge branch 'release_24.2' into dev 2025-03-13 00:37:29 +00:00
mvdbeek ad1591ebc5 Select new linter classes 2025-03-12 12:39:06 +01:00
Nicola Soranzo edd8bccf4f Drop support for Python 3.8 2025-02-25 19:20:46 +00:00
Dannon Baker 07e5639db4 Add yarn install step in js_lint workflow to ensure dependencies are up to date 2025-02-11 16:09:54 -05:00
Dannon Baker d91fe367ca Set working directory in base step for vue-tsc execution in js_lint workflow 2025-02-11 16:09:47 -05:00
Dannon Baker ed249d7806 Refactor js_lint workflow to checkout target base branch and run vue-tsc, improving error count comparison logic 2025-02-11 15:32:28 -05:00
Dannon Baker 45110a1d66 Set working directory for vue-tsc execution in js_lint workflow 2025-02-11 15:32:28 -05:00
Dannon Baker 3730a8b8ff Enhance js_lint workflow to capture vue-tsc error summaries and improve error count extraction; add new test file for error reporting 2025-02-11 15:32:28 -05:00
Dannon Baker d179473eb7 Fix base commit calculation in js_lint workflow to use the correct branch 2025-02-11 15:32:28 -05:00
Dannon Baker cabe7da881 Add vue-tsc error comparison to js_lint workflow 2025-02-11 15:32:14 -05:00
Nicola Soranzo 265fb6e0df Remove apptainer-version pin
Not necessary any more now that https://github.com/eWaterCycle/setup-apptainer/pull/68
was merged.
2025-01-07 15:57:39 +00:00
Nicola Soranzo 4fa092c860 Merge branch 'release_24.1' into release_24.2 2024-12-19 15:45:08 +00:00
Nicola Soranzo 8f0465f0ca Merge branch 'release_24.0' into release_24.1 2024-12-19 15:18:45 +00:00
Nicola Soranzo c67ffe8c76 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-18 18:00:12 +00:00
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