Commit Graph
29 Commits
Author SHA1 Message Date
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
Dannon Baker c007e03d2a Merge remote-tracking branch 'upstream/release_20.05' into dev 2020-07-14 12:12:20 -04:00
John Chilton 6cf68bb182 Refactor lib/galaxy/objectstore/test_helpers.py to package-less objectstore_helpers.py.
Need more symlinks and such now.
2020-07-08 14:56:10 -04:00
John Chilton b7c1b03251 Refactor more unit tests into the galaxy-data package. 2020-07-07 13:44:32 -04:00
John Chilton 0ea20422e0 Modify packages to allow test requirements (for responses). 2020-07-06 18:49:04 -04:00
John Chilton bfdcc8bd12 Starting work on data 20.5.1 2020-07-04 10:05:21 -04:00
John Chilton 4c802d19c0 Version 20.5.0 of data (tag galaxy-data-20.5.0). 2020-07-04 10:04:45 -04:00
John Chilton c74fd4925d Prep release of galaxy-data version 20.05. 2020-07-04 10:04:21 -04:00
John Chilton 22ddea4337 Better packaging of unit test utilities.
clean_multiline_string was used in multiple places across modules in different packages so I simply refactored it into galaxy.util and added a test case (used in multiple places and has tests a lower bar then some other code in galaxy.util).

The tempfilecache abstraction was only used in one place, so I've refactored it right into that file.

Together these should simplify the package tests for galaxy-data (and hopefully other packages also).
2020-07-03 13:32:32 -04:00
John Chilton fde0cd72cf Fix galaxy-data requirements.
No longer pinning sqlalchemy to 1.2.
2019-10-31 09:29:08 -04:00
John Chilton 9b287ef06c Push scripts into subpackages. 2019-07-08 16:38:10 +02:00
dglaetzer 560565b4e6 link maf_utilities back to it's original directory, fix requirements 2019-07-07 10:56:17 +02:00
dglaetzer b9de9edfac Merge branch 'dev' into dev 2019-07-06 16:55:07 +02:00
dglaetzer 0ca1550903 Merge remote-tracking branch 'upstream/dev' into dev 2019-07-06 16:50:11 +02:00
John Chilton 49ef4d91c6 Pin numpy since 1.17 doesn't work on Python 2. 2019-07-06 14:15:13 +02:00
damian 54d2ca01f8 moved common_util.py, encoding_util.py and xml_util.py from tool_shed/util to galaxy/util/tool_shed (for data package) 2019-07-06 13:58:52 +02:00
Nicola Soranzo 1c292702ca Update PROJECT_EMAIL and PyPI URL for old packages 2019-07-05 16:41:11 +02:00
John Chilton b76eb61c81 Bring more directories under packages/ export.
Add quota to data/ (should be refactored to not use trans but is straight forward and the imports are fine for now), and add three new packages.

- auth
- authnz
- app

A lot more needs to be added to app but we need to de-tangle the circular imports between app and web stuff and webapp stuff. It is messier than I thought.
2019-06-27 08:43:16 -04:00
John Chilton ecea8934e4 Fix display application inclusion in galaxy-data for set-metadata. 2019-06-21 11:53:59 -04:00
Martin Cech ed67414c45 fix links to pypi package 2019-06-18 13:16:50 -04:00
John Chilton 07f17f66e9 Redo import of unit test utilities for galaxy-data testing. 2019-06-05 16:44:34 -04:00
John Chilton bcbf7cbfed Fix bx dependency for galaxy-data. 2019-06-05 16:44:34 -04:00
John Chilton 905a40d090 packages/ - update package versions to reflect pre-releases to PyPI. 2019-05-28 16:14:50 -04:00
John Chilton a49debffdc packages/ - add Makefile(s) for building projects.
Uses a stripped down, updated variant of like Pulsar/Planemo/ephemeris Makefile stuff. Modified in dozens of ways for tags, version and path differences, etc.. Symbolic links to keep everything in line.
2019-05-28 16:13:07 -04:00
John Chilton 93d097185c packages/ - add development requirements for publishing, linting artifacts 2019-05-28 16:13:07 -04:00
John Chilton 72c22f9610 packages/ - improvements to project structures.
- Update setup.py to reflect Galaxy no longer supports Python 3.4.
- Move PROJECT_DESCRIPTION into a variable imported into setup.py dynamically, reducing the differences in setup.py across packages.
- Fix some project descriptions.
- Fix versions and HISTORY.rst for a release this cycle, didn't get any 19.5.0 packages out.
2019-05-28 16:12:54 -04:00
John Chilton fc68cb8449 Script to populate datasets/libraries directly into an objectstore and model store.
The included script takes in an object store definition to write to, model store output target (e.g. tar file or directory or bagit file/directory format matching the new history exports added in 7367), and a bunch of files in defined via an upload-2.0-style YAML - and writes the physical files into the object store and writes persisted metadata into the model store. The supplied script describes the input format as do the new unit tests in test_model_discover.py.

Right now datasets for a history and whole libraries (including recursive folders and library datasets) can be described this way. These concepts have been extended to collections in #7058 but only in the context of discovering job outputs and writing them to an export model store current.

This script was created mostly by refactoring stuff out of output_collect.py that is used to create datasets during output discovery (i.e. parsing the same data out of galaxy.json files).
2019-04-10 11:01:09 -04:00
John Chilton bda564222f Add galaxy.model.dataset_collections to data project.
xref https://github.com/galaxyproject/galaxy/pull/7588
2019-03-28 09:19:02 -04:00
John Chilton 59b41f4bc3 Rename projects/ -> packages/.
https://github.com/galaxyproject/galaxy/pull/7524#issuecomment-477529349
2019-03-28 09:17:51 -04:00