Skip to content

Commit fa28ee6

Browse files
authored
Merge branch 'master' into hpu_stats
2 parents f204f5b + 8abf32e commit fa28ee6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/actions/pkg-install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
- name: Install | Uninstall package - archive
2929
working-directory: ./dist
3030
run: |
31-
pip install *.tar.gz ${PKG_NAME}
31+
pip install *.tar.gz ${PKG_NAME} ${{ inputs.pip-flags }}
3232
pip list | grep lightning
3333
python -c "import ${PKG_NAME} ; print(${PKG_NAME}.__version__)"
3434
pip uninstall -y ${PKG_NAME}

.github/workflows/ci_pkg-install.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,4 @@ jobs:
139139
- uses: ./.github/actions/pkg-install
140140
with:
141141
pkg-name: "lightning"
142+
pip-flags: "-U --pre --find-links ../pypi/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ______________________________________________________________________
2222
[![PyPI Status](https://pepy.tech/badge/pytorch-lightning)](https://pepy.tech/project/pytorch-lightning)
2323
[![Conda](https://img.shields.io/conda/v/conda-forge/pytorch-lightning?label=conda&color=success)](https://anaconda.org/conda-forge/pytorch-lightning)
2424
[![DockerHub](https://img.shields.io/docker/pulls/pytorchlightning/pytorch_lightning.svg)](https://hub.docker.com/r/pytorchlightning/pytorch_lightning)
25-
[![codecov](https://codecov.io/gh/Lightning-AI/lightning/branch/master/graph/badge.svg)](https://codecov.io/gh/Lightning-AI/lightning)
25+
[![codecov](https://codecov.io/gh/Lightning-AI/lightning/branch/master/graph/badge.svg?token=SmzX8mnKlA)](https://codecov.io/gh/Lightning-AI/lightning)
2626

2727
[![ReadTheDocs](https://readthedocs.org/projects/pytorch-lightning/badge/?version=stable)](https://pytorch-lightning.readthedocs.io/en/stable/)
2828
[![Slack](https://img.shields.io/badge/slack-chat-green.svg?logo=slack)](https://www.pytorchlightning.ai/community)

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def _load_py_module(name: str, location: str) -> ModuleType:
8989
# engineer specific practices
9090
if __name__ == "__main__":
9191
_SETUP_TOOLS = _load_py_module(name="setup_tools", location=os.path.join(".actions", "setup_tools.py"))
92-
_SETUP_TOOLS.set_version_today(os.path.join(_PATH_SRC, "lightning", "__version__.py"))
92+
if _PACKAGE_NAME not in _PACKAGE_MAPPING:
93+
_SETUP_TOOLS.set_version_today(os.path.join(_PATH_SRC, "lightning", "__version__.py"))
9394
for lit_name, pkg_name in _PACKAGE_MAPPING.items():
9495
# fixme: if we run creation of meta pkg against stable we shall pull the source
9596
_SETUP_TOOLS.create_meta_package(os.path.join(_PATH_ROOT, "src"), pkg_name, lit_name)

0 commit comments

Comments
 (0)