From 96383388371769f0c062bc98350b50e223224808 Mon Sep 17 00:00:00 2001 From: Mateusz Klimaszewski <mk.klimaszewski@gmail.com> Date: Tue, 23 Mar 2021 15:41:46 +0100 Subject: [PATCH 1/2] Skip upload to pypi if exists. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b5770d..b80009e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ pypi_publish: - pip install twine - python setup.py sdist bdist_wheel - python -m twine upload + --skip-existing --repository-url https://pypi.clarin-pl.eu/ -u $PIPY_USER -p $PIPY_PASS -- GitLab From 7986dcdfa6ea098264dd3a1d58ef5aa950039fb8 Mon Sep 17 00:00:00 2001 From: Mateusz Klimaszewski <mk.klimaszewski@gmail.com> Date: Tue, 23 Mar 2021 15:38:37 +0100 Subject: [PATCH 2/2] Release 1.0.3. --- README.md | 2 +- docs/installation.md | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc15e92..732262e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Clone this repository and install COMBO (we suggest creating a virtualenv/conda environment with Python 3.6+, as a bundle of required packages will be installed): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.2 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.3 ``` Run the following commands in your Python console to make predictions with a pre-trained model: ```python diff --git a/docs/installation.md b/docs/installation.md index 36ade51..6aba7f7 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -2,7 +2,7 @@ Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.2 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.3 combo --helpfull ``` @@ -11,7 +11,7 @@ combo --helpfull python -m venv venv source venv/bin/activate pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.2 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.3 ``` ### Conda example: diff --git a/setup.py b/setup.py index 5012ea9..e1354b7 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ REQUIREMENTS = [ setup( name='combo', - version='1.0.2', + version='1.0.3', author='Mateusz Klimaszewski', author_email='M.Klimaszewski@ii.pw.edu.pl', install_requires=REQUIREMENTS, -- GitLab