question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is an umbrella issue for our first release.

This would be an alpha pre-release (suggested version number: 0.1.0a1), which means that users would have to opt in to use it by specifying the --pre flag: pip install --pre sgkit.

Here are some of the tasks we need to do - please suggest more (or say if they are not needed).

  • cyvcf2 wheel (should we wait for this?)
  • Build release artifacts locally
  • Add release number to documentation URL
  • Use TestPyPI to test release process
  • Update installation instructions for users
  • Document release process

Note that these are all about what we need to do to make a release; since it’s a pre-release, the exact set of features doesn’t matter so much.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
tomwhitecommented, Nov 10, 2020

I have built the sgkit test artifacts and released to TestPyPI: https://test.pypi.org/project/sgkit/0.1.0a1/, which should be ready for testing.

You can install the main package with

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre sgkit

(The --extra-index-url is needed since some of sgkit’s dependencies are not on TestPyPI, and pip needs to be told to get them from regular PyPI.)

Extras are installed in a similar way:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre 'sgkit[bgen]'
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre 'sgkit[plink]'
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre 'sgkit[vcf]'

The changes needed for the release are in #376. I’ll write up some release instructions too.

BTW I successfully picked up @horta’s cyvcf2 wheels from TestPyPi when installing sgkit[vcf] on Mac, and ran a small VCF test. Thanks for your work on this @horta!

Collecting cyvcf2; extra == "vcf" (from sgkit[vcf])
  Downloading https://test-files.pythonhosted.org/packages/44/ee/816bf6dad913a314dc4fda67f08a8077bd7e14747b2701672e5c3d24f763/cyvcf2-0.20.10-cp37-cp37m-macosx_10_9_x86_64.whl (2.9MB)
2reactions
tomwhitecommented, Nov 16, 2020

The 0.1.0.a1 release is now on PyPI and can be installed with

pip install --pre sgkit

Extras can be installed with

pip install --pre 'sgkit[bgen]'
pip install --pre 'sgkit[plink]'
pip install --pre 'sgkit[vcf]'

Documentation is at https://pystatgen.github.io/sgkit/0.1.0a1/.

I’ve updated the release instructions in this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

typhoonae · PyPI
Version 0.1.0a1 (2009-10-05). First alpha release. Project details. Project links. Homepage ...
Read more >
npm: Why is a version "0.1" invalid? - node.js - Stack Overflow
A numeric item separated from the main three-number version by a hyphen will be interpreted as a "build" number, and will increase the...
Read more >
TenSEAL 0.1.0a1 Release Notes · OpenMined/TenSEAL@95b5c7c ...
A library for doing homomorphic encryption operations on tensors - TenSEAL 0.1.0a1 Release Notes · OpenMined/TenSEAL@95b5c7c.
Read more >
mysqlnd_uh 0.1.0a1 - PECL :: Package - PHP
Description, MySQLnd Userland Handler let you specify a userland handler for all mysqlnd connections. Release notes. Version 0.1.0a1 (alpha), 0.1.0 release ...
Read more >
Changelog — rbp_ds18b20 0.1.4a1.post0.dev8+g8fc79e0 ...
Version 0.1.0a1 ¶. First release; Test run. Table Of Contents. Changelog. Version 0.1.4a1; Version 0.1.0a1. Previous topic. Developers. Next topic.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found