Skip to content

Commit

Permalink
Update version to 0.2.7 and fixed python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Mancini committed Jan 26, 2024
1 parent 22c0c3d commit 797138c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-push-docker_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: echo "TAG=$(date +'%Y.%m.%d.%H.%M')" >> $GITHUB_ENV
- uses: actions/setup-python@v1
with:
python-version: 3.11
python-version: 3.9
- name: Install WHEEL tool
run: pip install wheel
- name: Build WHEEL file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-push-docker_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.9"
- name: Install WHEEL tool
run: pip install wheel
- name: Build WHEEL file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Build Kit4DL and publish to PyPI
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.9"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
environment: release
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/testpypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Build geokube and publish to TestPyPI
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.9"]
os: [ubuntu-latest]
# environment:
# name: testpypi
Expand All @@ -31,14 +31,4 @@ jobs:
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/geokube
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
repository-url: https://test.pypi.org/legacy/
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN conda clean -afy \
&& find /opt/conda/ -follow -type f -name '*.pyc' -delete \
&& find /opt/conda/ -follow -type f -name '*.js.map' -delete \
&& find /opt/conda/lib/python*/site-packages/bokeh/server/static -follow -type f -name '*.js' ! -name '*.min.js' -delete
COPY dist/geokube-0.2a0-py3-none-any.whl /
COPY dist/geokube-0.2.7-py3-none-any.whl /
RUN pip install /geokube-0.2a0-py3-none-any.whl
RUN rm /geokube-0.2a0-py3-none-any.whl
ENV LD_LIBRARY_PATH=/opt/conda/x86_64-conda-linux-gnu/lib:/usr/lib/x86_64-linux-gnu
RUN rm /geokube-0.2.7-py3-none-any.whl
ENV LD_LIBRARY_PATH=/opt/conda/x86_64-conda-linux-gnu/lib:/usr/lib/x86_64-linux-gnu
2 changes: 1 addition & 1 deletion geokube/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2a0"
__version__ = "0.2.7"

0 comments on commit 797138c

Please sign in to comment.