-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from th2-net/python-workflow
Python workflow
- Loading branch information
Showing
15 changed files
with
625 additions
and
649 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: check and publish release candidate Python tarball to PyPi | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build-job: | ||
name: Check and publish snapshot tarball to PyPi | ||
uses: th2-net/.github/.github/workflows/compound-python.yml@main | ||
with: | ||
release-type: release-candidate | ||
style-check-enabled: false | ||
strict-style-check: false | ||
python-check-versions: "['3.8', '3.9', '3.10', '3.11', '3.12']" | ||
test-dir: tests/ | ||
test-requirements-files: requirements.txt, requirements_dev.txt | ||
create-tag: true | ||
|
||
secrets: | ||
pypi-password: ${{ secrets.PYPI_PASSWORD }} |
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,19 @@ | ||
name: check and publish release Python tarball to PyPi | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build-job: | ||
name: Check and publish snapshot tarball to PyPi | ||
uses: th2-net/.github/.github/workflows/compound-python.yml@main | ||
with: | ||
release-type: release | ||
style-check-enabled: false | ||
strict-style-check: false | ||
python-check-versions: "['3.8', '3.9', '3.10', '3.11', '3.12']" | ||
test-dir: tests/ | ||
test-requirements-files: requirements.txt, requirements_dev.txt | ||
create-tag: true | ||
|
||
secrets: | ||
pypi-password: ${{ secrets.PYPI_PASSWORD }} |
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,24 @@ | ||
name: check and publish snapshot Python tarball to PyPi | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev_* | ||
- pypi_* | ||
paths-ignore: | ||
- README.md | ||
|
||
jobs: | ||
build-job: | ||
name: Check and publish snapshot tarball to PyPi | ||
uses: th2-net/.github/.github/workflows/compound-python.yml@main | ||
with: | ||
release-type: development | ||
style-check-enabled: false | ||
strict-style-check: false | ||
python-check-versions: "['3.8', '3.9', '3.10', '3.11', '3.12']" | ||
test-dir: tests/ | ||
test-requirements-files: requirements.txt, requirements_dev.txt | ||
|
||
secrets: | ||
pypi-password: ${{ secrets.PYPI_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
pandas==1.1.5 | ||
pandas>=2.0.0 | ||
plotly==5.2.1 | ||
setuptools==58.1.0 | ||
blake3==0.2.1 | ||
vaex-core==4.5.1 | ||
vaex==4.3.0 | ||
ipython~=7.16 | ||
setuptools>=75.1.0 | ||
blake3==0.4.1 | ||
# vaex-core==4.5.1 | ||
# vaex==4.3.0 | ||
ipython~=8.10.0 | ||
dask[dataframe]==2022.1.1 # The latest version that support Py 3.7 | ||
# numba==0.54.1 | ||
numpy>=1.22 | ||
numpy<2.0.0 | ||
ipykernel | ||
matplotlib | ||
|
||
# Uncomment it when ds lib v2 will be released | ||
#th2-data-services>=2,<3 # ds core 2.* | ||
th2-data-services~=2.0.0.dev | ||
th2-data-services~=2.0.0.dev |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2020-2020 Exactpro (Exactpro Systems Limited) | ||
# Copyright 2020-2024 Exactpro (Exactpro Systems Limited) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -40,9 +40,9 @@ | |
author_email="[email protected]", | ||
url="https://github.com/th2-net/th2-data-services-utils", | ||
license="Apache License 2.0", | ||
python_requires=">=3.7", | ||
python_requires=">=3.8", | ||
install_requires=requirements, | ||
packages=find_packages(include=["th2", 'th2.th2_data_services', 'th2.th2_data_services.utils','th2.th2_data_services.utils.pandas']), | ||
namespace_packages = ['th2', 'th2.th2_data_services', 'th2.th2_data_services.utils'], | ||
packages=find_packages(include=['th2_data_services', 'th2_data_services.utils', 'th2_data_services.utils.pandas']), | ||
namespace_packages=['th2_data_services', 'th2_data_services.utils'], | ||
include_package_data=True, | ||
) |
Oops, something went wrong.