Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2022

Bumps synapseclient from 2.5.1 to 2.7.0.

Release notes

Sourced from synapseclient's releases.

v2.7.0

Bug Fixes

  • [SYNPY-226] - isConsistent fails as parameter for table query
  • [SYNPY-562] - Make sure SQL functions, including "year", are quoted correctly
  • [SYNPY-1031] - File version increments with 400 client error
  • [SYNPY-1219] - Update Entity class to be compatible with the new Dataset entity
  • [SYNPY-1224] - Correct SynapseUnmetAccessRestrictions message
  • [SYNPY-1237] - as_table_columns function is mishandling mixed data types

Stories

  • [SYNPY-63] - py: use metaclass to replace the _entity_type_to_class hack
  • [SYNPY-992] - synapseutils changeFileMetadata missing syn parameter docstring
  • [SYNPY-1175] - Programmatic Support for Download V2 via Py Client
  • [SYNPY-1193] - Support Datasets functionality
  • [SYNPY-1221] - Set up gh-action: black, the python auto formatter on the python client

Sub-Tasks

Tasks

  • [SYNPY-566] - Clarify expected list format for sync manifest
  • [SYNPY-1053] - Increase documentation of forceVersion in syncToSynapse
  • [SYNPY-1145] - Link to manifest format in CLI sync command usage help
  • [SYNPY-1226] - Leverage ViewBase for Datasets instead of SchemaBase
  • [SYNPY-1235] - Create codeql scanning workflow

Contributors

New Contributors

Full Changelog: Sage-Bionetworks/synapsePythonClient@v2.6.0...v2.7.0

v2.6.0

Bug Fixes

Stories

  • [SYNPY-728] - Improve error message when pandas is not available

... (truncated)

Changelog

Sourced from synapseclient's changelog.

2.7.0 (2022-09-16)

Highlights

  • Added support for Datasets

    .. code-block:: python

      # from python
      import synapseclient
      import synapseutils
      syn = synapseclient.login()
      dataset_items = [
          {'entityId': "syn000", 'versionNumber': 1},
          {...},
      ]
      dataset = synapseclient.Dataset(
          name="My Dataset",
          parent=project,
          dataset_items=dataset_items
      )
      dataset = syn.store(dataset)
      # Add/remove specific Synapse IDs to/from the Dataset
      dataset.add_item({'entityId': "syn111", 'versionNumber': 1})
      dataset.remove_item("syn000")
      dataset = syn.store(dataset)
      # Add a single Folder to the Dataset
      # this will recursively add all the files in the folder
      dataset.add_folder("syn123")
      # Add a list of Folders, overwriting any existing files in the dataset
      dataset.add_folders(["syn456", "syn789"], force=True)
      dataset = syn.store(dataset)
      # Create snapshot version of dataset
      syn.create_snapshot_version(
          dataset.id,
          label="v1.0",
          comment="This is version 1"
      )
    
  • Added support for downloading from download cart. You can use this feature by first adding items to your download cart on Synapse.

    .. code-block:: python

      # from python
      import synapseclient
      import synapseutils
      syn = synapseclient.login()
    

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [synapseclient](https://github.com/Sage-Bionetworks/synapsePythonClient) from 2.5.1 to 2.7.0.
- [Release notes](https://github.com/Sage-Bionetworks/synapsePythonClient/releases)
- [Changelog](https://github.com/Sage-Bionetworks/synapsePythonClient/blob/develop/docs/news.rst)
- [Commits](Sage-Bionetworks/synapsePythonClient@v2.5.1...v2.7.0)

---
updated-dependencies:
- dependency-name: synapseclient
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 1, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 1, 2023

Superseded by #105.

@dependabot dependabot bot closed this May 1, 2023
@dependabot dependabot bot deleted the dependabot/pip/conda/sage-bionetworks/main/synapseclient-2.7.0 branch May 1, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants