-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate the project to Poetry (#129)
* Prepare poetry config * Adapt release script * Add some documentation * Update check.yaml * Add comment * Update CONTRIBUTING.md * Update tools/release.sh * Include development related files inside the sdist * External job * Update poetry-core to support editable installs. * Update .github/workflows/check.yaml * Update lock file and move constraints.txt out of the dist folder * Update gitignore * Export dev dependencies to pin pytest during release * No hashes to avoid pip install failure with unhashed additional dependencies * Setup pre-install hook to generate the constraints file * Install pytest along with josepy during release Co-authored-by: Brad Warren <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,367 additions
and
245 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 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 |
---|---|---|
|
@@ -67,3 +67,6 @@ target/ | |
|
||
# Pycharm | ||
.idea | ||
|
||
# Ignore generated constraints.txt file generated by tools/release.sh | ||
constraints.txt |
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,14 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
jobs: | ||
pre_install: | ||
- curl -sSL https://install.python-poetry.org | python3 - | ||
- ${HOME}/.local/bin/poetry export -f requirements.txt --dev -E docs --without-hashes > constraints.txt | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.