Skip to content

Commit

Permalink
ci: verify release with PYTHONHASHSEED set to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Feb 2, 2022
1 parent 23a3a9b commit 5ec2589
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 81 deletions.
35 changes: 2 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@
*.o
*.py[ocd]
*.so
__pycache__
.build_cache_dir
MANIFEST

# Generated sources
*.c
*.cpp
*.cmake
# Python files

# setup.py working directory
Expand All @@ -45,47 +42,19 @@ coverage.xml
.DS_Store?
Icon?

# documentation files
docs/source/generated
docs/source/generated-notebooks

# Ibis testing data
ci/ibis-testing-data*
ci/ibis_testing.db

# UDF testing generated files
ci/udf/CMakeCache.txt
ci/udf/CMakeFiles/
ci/udf/Makefile
.cache/

# test data
scripts/ibis-testing*
ibis_testing*
.tox/
.asv/
.ipynb_checkpoints/
.pytest_cache
.mypy_cache
docs/source/backends/generated

# temporary doc build
docbuild

# nix generated files
.direnv
result
result-*

# generate this with:
#
# poetry export --dev --without-hashes --no-ansi > requirements.txt
#
# if you need it
requirements.txt

# generated mkdocs website
docs/site
docs/web/docs

# nix-generated pre-commit
.pre-commit-config.yaml
3 changes: 2 additions & 1 deletion ci/release/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ poetry check
# verify that the lock file is up to date
# we set PYTHONHASHSEED=some_constant here
# to avoid reordering of poetry extras
PYTHONHASHSEED=42 poetry lock --no-update
# see https://github.com/python-poetry/poetry/issues/5125
PYTHONHASHSEED=0 poetry lock --no-update
git diff --exit-code poetry.lock

# verify that we have a token available to push to pypi using set -u
Expand Down
91 changes: 44 additions & 47 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ec2589

Please sign in to comment.