Skip to content

Commit

Permalink
Add verbose flag while uploading to pypi (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarantopoulosKon authored Apr 27, 2022
1 parent 46189c1 commit af79b34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ stages:
sudo apt update && sudo apt install yarn
displayName: 'Install yarn'
condition: eq(variables['imageName'], 'ubuntu-20.04')
- script: python -m pip install --upgrade ipywidgets traitlets pytest build jupyter-packaging==0.11.1 jupyterlab==3.2.3
- script: python -m pip install --upgrade ipywidgets traitlets pytest build jupyter-packaging==0.12.0 jupyterlab==3.3.4
# pip installs release candidates by default:
# https://github.com/pypa/pip/issues/4969
displayName: 'Install dependencies'
Expand All @@ -64,8 +64,8 @@ stages:

- task: NodeTool@0
inputs:
versionSpec: '12.x'
- script: yarn
versionSpec: '14.x'
- script: jlpm
displayName: 'Install labextension dependencies'
env:
NPM_TOKEN: $(NPM_TOKEN)
Expand Down Expand Up @@ -113,7 +113,7 @@ stages:
versionSpec: '3.8'
architecture: 'x64'

- script: 'pip install twine build setuptools setuptools_scm jupyter-packaging==0.10.6 jupyterlab==3.2.3'
- script: 'pip install twine build setuptools setuptools_scm jupyter-packaging==0.12.0 jupyterlab==3.3.4'
displayName: 'Install twine/build'

- task: NodeTool@0
Expand Down Expand Up @@ -141,7 +141,7 @@ stages:
inputs:
pythonUploadServiceConnection: 'pypi-upload'

- script: python -m twine upload -r "pypi-upload" --config-file $(PYPIRC_PATH) dist/*.whl
- script: python -m twine upload -r "pypi-upload" --config-file $(PYPIRC_PATH) --verbose dist/*.whl
displayName: 'Release to Pypi'

- script: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.1", "setuptools", "build"]
requires = ["jupyter_packaging~=0.12,<2", "jupyterlab~=3.3", "setuptools", "build"]
build-backend = "setuptools.build_meta"

[tool.jupyter-packaging.options]
Expand Down

0 comments on commit af79b34

Please sign in to comment.