-
Notifications
You must be signed in to change notification settings - Fork 9
Use Hatch for Project Management #111
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2a7526b
Setup hatch for project & dependencies management
MHHukiewitz 2777788
Fix build targets
MHHukiewitz 99a4aa7
Add Mike as author
MHHukiewitz 2d6e249
Remove unneeded files
MHHukiewitz 3d48307
Add missing configs from setup.py
MHHukiewitz 428469d
Update README.md to reflect latest changes and use hatch in setup
MHHukiewitz c3df27c
Add Flake8-pyproject plugin to enable flake8 configuration through py…
MHHukiewitz e0bd8f6
Revert faulty formatting
MHHukiewitz 543d2c7
Move mypy.ini to pyproject.toml and make it lean
MHHukiewitz 7b60805
Remove need for mypy.ini in workflow
MHHukiewitz 4d4da2b
Fix mypy config
MHHukiewitz 1b9e86c
Adding py.typed marker and automatically install type stubs when runn…
MHHukiewitz 0504a51
Use LICENCE.txt file in pyproject.toml
MHHukiewitz 8948883
Add classifiers
MHHukiewitz 890773c
Use VCS version (git tag)
MHHukiewitz 8dece12
Add envs for testing and linting
MHHukiewitz fb22bfb
Merge optional encryption dependencies from #110
MHHukiewitz 9058e49
Fix test and coverage; remove need for docker files in pytest workflow
MHHukiewitz 51d82de
Fix workflows
MHHukiewitz d44b5cb
Further improve hatch scripts and workflows
MHHukiewitz 3ff50b1
Fix python-version matrix
MHHukiewitz e18c6b7
Fix missing test dependencies
MHHukiewitz fc77e27
Fix missing test dependencies for Python 3.12 and further improve wor…
MHHukiewitz a90fd86
Remove Python 3.12 from supported versions
MHHukiewitz 1ff3155
Update pyproject.toml
MHHukiewitz ec194dc
Update pyproject.toml
MHHukiewitz a803ba2
Unify script/env names to equal aleph-vm conventions
MHHukiewitz ada98af
Fix codecov action param
MHHukiewitz 965de9f
Add coverage.py for the codecov action
MHHukiewitz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,33 @@ | ||
| name: Test/Coverage with Python | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| build: | ||
| strategy: | ||
| matrix: | ||
| python-version: [ "3.8", "3.9", "3.10", "3.11" ] | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - run: sudo apt-get install -y python3-pip libsecp256k1-dev | ||
| - run: python -m pip install --upgrade pip hatch coverage | ||
| - run: hatch run testing:test | ||
| if: matrix.python-version != '3.11' | ||
| - run: hatch run testing:cov | ||
| if: matrix.python-version == '3.11' | ||
| - uses: codecov/[email protected] | ||
| if: matrix.python-version == '3.11' | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| slug: aleph-im/aleph-sdk-python | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,3 +5,4 @@ Contributors | |
| * Henry Taieb <[email protected]> | ||
| * Hugo Herter <[email protected]> | ||
| * Moshe Malawach <[email protected]> | ||
| * Mike Hukiewitz <[email protected]> | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.