Skip to content

Update vcfpy dependency to a newer version#84

Open
susannasiebert wants to merge 3 commits into
masterfrom
vcfpy_version
Open

Update vcfpy dependency to a newer version#84
susannasiebert wants to merge 3 commits into
masterfrom
vcfpy_version

Conversation

@susannasiebert

Copy link
Copy Markdown
Collaborator

This updated VCFpy version no longer encodes certain special characters so a lot of test files are updated to reflect this. This update also add python 3.12 as a test python version for the GitHub action.

@chrisamiller chrisamiller left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It seems odd that there isn't a cleaner way to do the whole repeated if self.REGNERATE_TEST_DATA thing, but I don't have one off the top of my head, so seems fine to me.

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we be bumping this list to support later versions (up to 3.14) now?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sure. We might run into some dependency incompatibility so we'd need to decide how to best resolve them.

Comment thread setup.py
},
install_requires=[
'vcfpy==0.12.3',
'vcfpy==0.13.8',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

should we bump this to the newest (0.14.2) at this point?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I feel like there was some reason to pin this version but I don't remember. I think I was trying to keep it in line with what pVACtools uses (which isn't really required). There might also be some incompatibility with python versions and/or other dependencies.

vcf_readcount_annotator.main(command)

self.assertTrue(cmp(os.path.join(self.test_data_dir, 'complex_indel.readcount.vcf.gz'), os.path.join(temp_path.name, 'input.readcount.vcf.gz')))
if self.REGENERATE_TEST_DATA:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do all tests now need to follow this REGENERATE_TEST_DATA pattern? If so, I can help hack on those...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

it's not required but you're welcome to make that change.

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.

2 participants