Commit Graph
7 Commits
Author SHA1 Message Date
Nicola Soranzo 7f89e0eab9 Code cleanups from pyupgrade
Found by running:

```
make pyupgrade
ruff check --fix .
ruff check --preview --unsafe-fixes --select=F401 --fix .
make format
make update-client-api-schema
```

The bulk of the changes are replacements of typing deprecated aliases
such as `Dict` and `List` with the standard library classes. These
aliases became redundant in Python 3.9 when the corresponding
pre-existing classes were enhanced to support `[]`, see
https://docs.python.org/3/library/typing.html#deprecated-aliases

Also:
- Update the `pyupgrade` Makefile target to use `--py38-plus` for the
  packages needed by Pulsar, including the new galaxy-tool-util-models
  package.
2025-07-31 11:17:22 +01:00
John Chilton 293ce59e3c Allow bootstrap_test_shed to bypass errors in tool shed 1.0 API.
Alternative to https://github.com/galaxyproject/galaxy/pull/18680 if that never gets deployed.
2025-03-03 20:39:27 -05:00
davelopez 985184b458 Fix import issue in bootstrap_test_shed.py
$ make bootstrap_test_backend
cd ../../../..; . .venv/bin/activate; python scripts/bootstrap_test_shed.py
Traceback (most recent call last):
  File "/galaxy/scripts/bootstrap_test_shed.py", line 20, in <module>
    from galaxy.util import requests
ModuleNotFoundError: No module named 'galaxy'
make: *** [Makefile:22: bootstrap_test_backend] Error 1
2024-07-12 17:23:08 +02:00
mvdbeek e8a3b8c0cd Create wrapper for requests with default user agent 2024-04-16 17:54:29 +02:00
John Chilton ec6d8fd03b Fixes... 2023-09-27 14:30:42 -04:00
John Chilton 7dc0b1378b WIP: modern tool shed frontend 2023-09-27 14:30:42 -04:00
John Chilton 24b3abeb3e Script for bootstrapping the tool shed. 2023-09-26 13:46:59 -04:00