Commit Graph
32 Commits
Author SHA1 Message Date
mvdbeek 35e47388e7 Exclude selenium version with broken type hints 2023-08-09 09:12:48 +02:00
Nicola Soranzo 4ca163b9ca Add support for Python 3.11
- Update Python dependencies that didn't have a cp311 wheel: h5py and
  psycopg2-binary.
- For packages for which there is no recent version that works on all
  Python versions supported by Galaxy (numpy and scipy), replace old
  requirement with multiple Python-version-specific requirements.
2023-02-02 01:18:25 +00:00
Nicola Soranzo ee7d51f2f5 Merge branch 'release_22.05' into dev 2022-12-09 11:36:00 +00:00
mvdbeek 9c92c55a31 Reset all package HISTORY.rst file to 22.5.0.dev0 2022-12-08 13:24:06 +01:00
Nicola Soranzo dda6feb391 Remove redundant license info from package READMEs
The license is already specified in `setup.cfg` , which is the
canonical place.
This will simplify the transition to the MIT license.
2022-09-09 17:20:24 +01:00
Michael R. Crusoe 59ac92c1c8 mark galaxy packages as containing typing information 2022-07-26 23:27:36 +01:00
Nicola Soranzo 681ed09bb2 Modernise build of galaxy-test-selenium package
Also:
- Add missing files to `MANIFEST.in`
2022-06-10 10:32:00 +01:00
Nicola Soranzo 73bf57e9a0 Remove unused and unnecessary code
- `PROJECT_OWNER`, `PROJECT_USERAME`, `RAW_CONTENT_URL` and `_version_re` are unused.
- `:changelog:` hyperlink target is unnecessary.
- `test_suite` and `tests_require` are deprecated since setuptools v41.5.0
2022-06-09 22:55:07 +01:00
Nicola Soranzo 7b3b40f1a9 Merge pull request #14012 from jmchilton/test_api_under_ci 2022-06-09 17:57:23 +02:00
Nicola Soranzo e9b2262dd3 Move mypy configuration to `mypy.ini`
So packages can use `setup.cfg` to replace `setup.py` .
2022-06-08 10:35:18 +01:00
John Chilton fa3819ccda Bring galaxy-test-api and galaxy-test-selenium under CI also. 2022-06-08 09:24:02 +01:00
Nicola Soranzo aeef3318a2 Use setuptools custom package discovery instead of explicit listing 2022-06-06 23:48:37 +01:00
Nicola Soranzo f2a42ba67e Run mypy on all packages' files
Also:
- mypy fixes.
- Use `with` statement to open/close files.
2022-05-30 22:38:55 +01:00
Nicola Soranzo 0c80836c34 Upgrade syntax to Python 3.7
using `ack --type=python -f | grep -v '^tools/' | xargs pyupgrade --py37-plus`

Also more refactoring of Python files in `packages/` .
2022-03-14 14:57:43 +00:00
Nicola Soranzo 6057338cbd Format files in packages/ with black
with:

```
find packages/ -name '*.py' | xargs black
```

The `packages/` directory is currently excluded in the `[tool.black]`
section of `pyproject.toml` because black follows symlinks.
2022-02-03 14:07:52 +00:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
mvdbeek 0af72e56b2 Update version to 22.05.dev0 2022-02-01 11:10:56 +01:00
Nicola Soranzo 0bdc93a7cc Drop support for Python 3.6, add Python 3.10 2021-12-08 08:14:10 +00:00
mvdbeek 5332eb246a Update version to 22.01.dev0 2021-09-20 19:53:11 +02:00
mvdbeek 07fb59937e Update version to 21.09.dev0 2021-05-05 21:48:01 +02:00
John Chilton 5661e0db9f Exploratory Jupyter environment for `galaxy-selenium`.
The new Makefile-based command ``make serve-selenium-notebooks`` will serve notebooks in lib/galaxy_test/selenium/jupyter.

The notebooks will target a Galaxy host running on port 8080 - but are parameterized to be run with papermill (https://papermill.readthedocs.io/) for automate targeting different Galaxy servers, remote Selenium servers, etc..

Screenshots will be embedded right into the notebook.

Example notebooks setup to target just the library code in ``galaxy-selenium`` as well as one appropriate to leverage the Galaxy testing framework are included and documented in depth via modules docstring for ``galaxy_test.selenium.jupyter``.
2021-01-18 17:24:28 -05:00
Nicola Soranzo e40e5aef7e Upgrade syntax using pyupgrade --py36-plus 2020-11-18 16:16:46 +00:00
Nicola Soranzo e96c96eb79 Merge branch 'release_20.09' into dev 2020-10-19 17:48:30 +01:00
Nicola Soranzo a3b954126d Add *requirements.txt files to source packages 2020-10-19 10:32:05 +01:00
mvdbeek 6ac956b57c Merge branch 'release_20.09' into dev 2020-10-17 10:43:51 +02:00
John Chilton b31bcb986d Starting work on test-selenium 20.9.1 2020-10-15 12:32:12 -04:00
John Chilton 05b173c8dd Version 20.9.0 of test-selenium (tag galaxy-test-selenium-20.9.0). 2020-10-15 12:31:55 -04:00
John Chilton 803e9e19ad Prep release of galaxy-test-selenium. 2020-10-15 12:31:39 -04:00
John Chilton 5471d5fac0 Prep release of galaxy-test-api. 2020-10-15 12:28:56 -04:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
John Chilton 0ea20422e0 Modify packages to allow test requirements (for responses). 2020-07-06 18:49:04 -04:00
John Chilton fd5679ad55 New packages for Galaxy tests. 2019-11-12 09:05:08 -05:00