Skip to content

Commit 3d6e8e9

Browse files
authored
Merge pull request #2 from dclong/dev
merge dev into main
2 parents 6257ce2 + f98deab commit 3d6e8e9

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies
2828
run: |
29-
pip3 install -U git+https://github.com/dclong/xinstall@main
29+
pip3 install -U xinstall
3030
xinstall --sudo pt -ic
3131
~/.local/bin/poetry env use python3
3232
cat pyproject.toml

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: 3.7
1616
- name: Install Poetry
1717
run: |
18-
pip3 install -U git+https://github.com/dclong/xinstall@main
18+
pip3 install -U xinstall
1919
xinstall pt -ic
2020
- name: Build Package
2121
run: |

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: 3.7
1616
- name: Install Poetry
1717
run: |
18-
pip3 install -U git+https://github.com/dclong/xinstall@main
18+
pip3 install -U xinstall
1919
xinstall pt -ic
2020
- name: Build Package
2121
run: |
@@ -26,5 +26,9 @@ jobs:
2626
repo_token: ${{ secrets.GITHUB_TOKEN }}
2727
prerelease: false
2828
files: |
29-
dist/dsutil-*
29+
dist/*
30+
- name: Publish to PyPI
31+
run: |
32+
pip3 install twine
33+
twine upload --verbose dist/* -u __token__ -p ${{ secrets.PYPI_PYSPARKER }}
3034

.github/workflows/test_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies
2828
run: |
29-
pip3 install -U git+https://github.com/dclong/xinstall@main
29+
pip3 install -U xinstall
3030
xinstall --sudo docker -ic --user-to-docker ""
3131
xinstall pt -ic
3232
~/.local/bin/poetry env use python3

.github/workflows/test_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies
2929
run: |
30-
pip3 install -U git+https://github.com/dclong/xinstall@main
30+
pip3 install -U xinstall
3131
xinstall pt -ic
3232
~/.local/bin/poetry env use python3
3333
~/.local/bin/poetry install

.github/workflows/test_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies
3131
run: |
32-
pip3 install -U git+https://github.com/dclong/xinstall@main
32+
pip3 install -U xinstall
3333
xinstall pt -ic --python python
3434
$env:Path += ";$env:Userprofile\.local\bin"
3535
$env:Path += ";$env:Userprofile\AppData\Roaming\Python\Scripts"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pysparker"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Some utility functions for PySpark."
55
authors = ["Ben Du <longendu@yahoo.com>"]
66

pysparker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"""
33
from .utils import sample, repart_hdfs, calc_global_rank
44

5-
__version__ = "0.1.0"
5+
__version__ = "0.1.1"

0 commit comments

Comments
 (0)