Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IBCDPE-800] Bumps pandas and synapseclient versions #122

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

BWMac
Copy link
Contributor

@BWMac BWMac commented Feb 12, 2024

Description:

To enable ADT to use new features implemented in the Synapse Python Client, we need to bump up the version we are using. synapseclient requires a newer version of pandas to be used, so we need to bump that up as well.

  • synapseclient: ~=3.1.1 -> ~4.0.0
  • pandas: ==1.2.4 -> ~=2.0.0

Notes:

  • I could have sworn there was some deprecated pandas logic being used in this package somewhere, but everything (except for one unit test) worked immediately after I upgraded the versions so no further changes appear to have been needed. Maybe that logic was updated or removed at some point in a previous PR that I am forgetting?
  • Pipfile.lock was deleted and re-generated to update the dependencies in the virtual environment.

Copy link

sonarcloud bot commented Feb 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@@ -83,7 +83,9 @@ def test_transform_genes_biodomains_should_pass(

@pytest.mark.parametrize("input_file", fail_test_data, ids=fail_test_ids)
def test_transform_genes_biodomains_should_fail(self, input_file):
with pytest.raises(KeyError):
with pytest.raises(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error type appears to have changed due to the new pandas version

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd... I wonder what caused it to change it to the different error type.

@BWMac BWMac changed the title [IBCDPE-800] Bump pandas and synapseclient versions [IBCDPE-800] Bumps pandas and synapseclient versions Feb 13, 2024
@BWMac BWMac marked this pull request as ready for review February 13, 2024 18:17
Copy link
Contributor

@jaclynbeck-sage jaclynbeck-sage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thank goodness, no more pandas warnings! Looks good!

Copy link
Member

@thomasyu888 thomasyu888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 LGTM!

@BWMac BWMac merged commit 7e4b313 into dev Feb 14, 2024
9 checks passed
@BWMac BWMac deleted the bwmac/IBCDPE-800/upgrade_python_client_version branch February 14, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants