-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add version constraints, poetry, and
poetry.lock
file, and us…
…e `nox-poetry` and py3.12 in CI (#202) * add version constraints fro2b5295fc1fe6bd90863571d3b74fb6ef70d4b266 * try to convert setuptools pyproject to poetry pyproject * add pybedtools and dev dependencies * try to lock versions * determine min working versions * lock at min versions but allow for anthing >= * move docs and tests into separate groups * use poetry indev install instructions * require importlib-metadata for versions of py<3.7 * add poetry to release workflow * copy github action from haptools * use poetry in readthedocs config * add nox and nox-poetry to pyproject.toml * move nox and nox-poetry to global env * simplify installation directions * try running nox once * move pytest cli args into pyproject * try moving coverage config to pyproject.toml * finish running nox on py3.8 move pytest-cov command line args to noxfile so they don't always run * ensure noxfile is properly ignored from pytest * describe how to run python version tests locally * add py 3.9+ to the set of py versions that are incompatible with our lock file * copy tests.yml github actions from haptools * add coverage testing as a step in the workflow * exclude files from sdist properly * remove --with params from install instructions * add checks for dist size and refactor coverage check * remove classifiers which are handled automatically by poetry * doc: describe how to manage dependencies with poetry * execute coverage test with locked dependency versions * use tests session in coverage CI check * clarify rule that all dependencies should be locked at min versions * clarify installation instructions in README * check that bcftools is installed * ensure newer bcftools is installed * try installing bcftools before pytest * do not specify certain channel priority * relax version constraints * use versions at time of first commit to repo, which failed * bump versions to get tests to pass * add poetry-specific items to PR checklist * build: release pipeline - lock poetry at the version used in dev-env.yml * ci: add test for python 3.12 * remove pybedtools as a dependency in pyproject.toml * revert to older pyproject and rtd_conda to resolve conflicts * replay edits to pyproject and rtd_conda after updating branch * ensure numpy 2.0 doesn't break anything for now * add file sizes test too * specify that new files must be smaller than 0.5 MB in PR template * list files in sdist within CI * ensure tests are run with installed version
- Loading branch information
Showing
16 changed files
with
1,591 additions
and
127 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ coverage.xml | |
xx-* | ||
test-* | ||
c57* | ||
.nox/ | ||
|
||
# Build files | ||
*egg-info* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- conda-forge::python=3.8 # the lowest version of python that we formally support | ||
- conda-forge::pip==23.3.2 | ||
- bioconda::bcftools==1.19 | ||
- bioconda::art==2016.06.05 | ||
- conda-forge::poetry==1.7.1 | ||
- conda-forge::nox==2023.04.22 | ||
- conda-forge::poetry-plugin-export==1.6.0 | ||
- pip: | ||
- nox-poetry==1.0.3 | ||
- poetry-conda==0.1.1 |
Oops, something went wrong.