Skip to content

Commit

Permalink
Merge pull request #1721 from Avaiga/fix/release
Browse files Browse the repository at this point in the history
Fix release action
  • Loading branch information
joaoandre-avaiga authored Aug 29, 2024
2 parents 1bc8828 + 76dd8b8 commit d6a2df0
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 29 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:

build-and-release-taipy:
runs-on: ubuntu-latest
needs: [build-and-release-taipy-packages, fetch-versions ]
needs: [build-and-release-taipy-packages, fetch-versions]
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -212,6 +212,10 @@ jobs:
run: |
cp -r tools/packages/taipy/. .
- name: Build Frontend
run: |
python tools/frontend/bundle_build.py
- name: Build Taipy package
run: |
python -m build
Expand Down
3 changes: 0 additions & 3 deletions taipy/config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ find = {include = ["taipy", "taipy.config", "taipy.config.*", "taipy.logger", "t

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
2 changes: 1 addition & 1 deletion taipy/config/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
3 changes: 0 additions & 3 deletions taipy/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@ find = {include = ["taipy", "taipy.core", "taipy.core.*"]}

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
2 changes: 1 addition & 1 deletion taipy/core/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
3 changes: 0 additions & 3 deletions taipy/gui/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@ find = {include = ["taipy", "taipy.gui", "taipy.gui.*"]}

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
2 changes: 1 addition & 1 deletion taipy/gui/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
3 changes: 0 additions & 3 deletions taipy/rest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ find = {include = ["taipy", "taipy.rest"]}

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
2 changes: 1 addition & 1 deletion taipy/rest/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
3 changes: 0 additions & 3 deletions taipy/templates/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ find = {include = ["taipy"]}

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
2 changes: 1 addition & 1 deletion taipy/templates/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
2 changes: 1 addition & 1 deletion taipy/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev0"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev1"}
2 changes: 1 addition & 1 deletion tools/packages/taipy-config/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
]
),
include_package_data=True,
data_files=[('version', ['version.json'])],
data_files=[('version', [version_path])],
tests_require=test_requirements,
)
2 changes: 1 addition & 1 deletion tools/packages/taipy-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
install_requires=requirements,
packages=find_packages(where=root_folder, include=["taipy", "taipy.core", "taipy.core.*"]),
include_package_data=True,
data_files=[('version', ['version.json'])],
data_files=[('version', [version_path])],
tests_require=test_requirements,
extras_require=extras_require,
)
4 changes: 2 additions & 2 deletions tools/packages/taipy-gui/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

package_desc = Path(root_folder / "package_desc.md").read_text("UTF-8")

version_path = os.path.join(root_folder, "taipy/gui/version.json")
version_path = "taipy/gui/version.json"

setup_requirements = Path("taipy/gui/setup.requirements.txt")

Expand Down Expand Up @@ -76,7 +76,7 @@ def run(self):
install_requires=requirements,
packages=find_packages(where=root_folder, include=["taipy", "taipy.gui", "taipy.gui.*"]),
include_package_data=True,
data_files=[("version", ["version.json"])],
data_files=[("version", [version_path])],
tests_require=test_requirements,
extras_require=extras_require,
cmdclass={"build_py": NPMInstall},
Expand Down
2 changes: 1 addition & 1 deletion tools/packages/taipy-rest/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
version=version_string,
packages=find_packages(where=root_folder, include=["taipy", "taipy.rest", "taipy.rest.*"]),
include_package_data=True,
data_files=[('version', ['version.json'])],
data_files=[('version', [version_path])],
install_requires=requirements,
)
2 changes: 1 addition & 1 deletion tools/packages/taipy-templates/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
setup(
packages=find_packages(where=root_folder, include=["taipy"]),
include_package_data=True,
data_files=[('version', ['version.json'])],
data_files=[('version', [version_path])],
test_suite="tests",
version=version_string,
)
2 changes: 1 addition & 1 deletion tools/release/build_package_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import sys
from pathlib import Path

__SKIP = ["LICENSE", "MANIFEST.in", "taipy", "setup.py", "tools"]
__SKIP = ["LICENSE", "MANIFEST.in", "taipy", "setup.py", "tools", "pyproject.toml"]


if __name__ == "__main__":
Expand Down

0 comments on commit d6a2df0

Please sign in to comment.