Skip to content
Snippets Groups Projects
Commit 1e002715 authored by Oriol.Tinto's avatar Oriol.Tinto
Browse files

Merge branch 'development' into 'main'

Fix CI publishing.

See merge request !9
parents ecf47de3 2bdfa970
Branches main
Tags 2023.6
1 merge request!9Fix CI publishing.
Pipeline #18400 passed
...@@ -27,7 +27,7 @@ deploy-to-testpypi: ...@@ -27,7 +27,7 @@ deploy-to-testpypi:
script: script:
- pip install twine - pip install twine
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- twine upload -u $PYPI_TEST_USER -p $PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* - twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
install-from-testpypi: install-from-testpypi:
stage: test_install stage: test_install
...@@ -55,4 +55,4 @@ deploy-to-pypi: ...@@ -55,4 +55,4 @@ deploy-to-pypi:
script: script:
- pip install twine - pip install twine
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing dist/* - twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ No newline at end of file \ No newline at end of file
2023.4 2023.4.1
\ No newline at end of file \ No newline at end of file
...@@ -54,6 +54,19 @@ class Encoding(_Mapping): ...@@ -54,6 +54,19 @@ class Encoding(_Mapping):
def __repr__(self): def __repr__(self):
return f"{self.__class__.__name__}({self.to_string()})" return f"{self.__class__.__name__}({self.to_string()})"
def set_chunk_sizes(self, chunk_sizes: tuple) -> None:
"""
Method to add chunksizes into the encoding dictionary.
Parameters
----------
chunk_sizes
Returns
-------
"""
self._kwargs["chunksizes"] = chunk_sizes
def set_chunk_sizes(self, chunk_sizes: tuple) -> None: def set_chunk_sizes(self, chunk_sizes: tuple) -> None:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment