Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-encoding
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
enstools-encoding
Commits
1e002715
Commit
1e002715
authored
1 year ago
by
Oriol.Tinto
Browse files
Options
Downloads
Plain Diff
Merge branch 'development' into 'main'
Fix CI publishing. See merge request
!9
parents
ecf47de3
2bdfa970
No related branches found
No related tags found
1 merge request
!9
Fix CI publishing.
Pipeline
#18400
passed
1 year ago
Stage: deploy_test
Stage: test_install
Stage: deploy_prod
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
VERSION
+1
-1
1 addition, 1 deletion
VERSION
enstools/encoding/variable_encoding.py
+13
-0
13 additions, 0 deletions
enstools/encoding/variable_encoding.py
with
16 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
2
View file @
1e002715
...
...
@@ -27,7 +27,7 @@ deploy-to-testpypi:
script
:
-
pip install twine
-
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
:
stage
:
test_install
...
...
@@ -55,4 +55,4 @@ deploy-to-pypi:
script
:
-
pip install twine
-
python setup.py sdist bdist_wheel
-
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing dist/*
\ No newline at end of file
-
twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ No newline at end of file
This diff is collapsed.
Click to expand it.
VERSION
+
1
−
1
View file @
1e002715
2023.4
\ No newline at end of file
2023.4.1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
enstools/encoding/variable_encoding.py
+
13
−
0
View file @
1e002715
...
...
@@ -54,6 +54,19 @@ class Encoding(_Mapping):
def
__repr__
(
self
):
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
:
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment