Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.12.0 #444

Merged
merged 6 commits into from
Jan 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .circleci/deploy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
set -e
set -u

python -m pip install --user -U twine wheel setuptools
python -m pip install --progress-bar off --user -U -r requirements/requirements-test.txt
python -m pip install --progress-bar off --user -U twine wheel setuptools

# PYPI_USERNAME - (Required) Username for the publisher's account on PyPI
# PYPI_PASSWORD - (Required, Secret) Password for the publisher's account on PyPI
Expand All @@ -24,7 +25,15 @@ username: ${PYPI_USERNAME}
password: ${PYPI_PASSWORD}
EOF

# Create wheels and source distribution
python setup.py bdist_wheel
python setup.py sdist

# Test generated wheel
python -m pip install signac-flow --progress-bar off -U --force-reinstall -f dist/
python -m pytest tests/ -v

# Upload wheels
if [[ "$1" == "testpypi" || "$1" == "pypi" ]]; then
python -m twine upload --skip-existing --repository $1 dist/*
else
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v3.3.0'
rev: 'v3.4.0'
hooks:
- id: end-of-file-fixer
exclude: 'setup.cfg'
- id: trailing-whitespace
exclude: 'setup.cfg'
- id: debug-statements
- repo: https://github.com/asottile/pyupgrade
rev: 'v2.7.3'
rev: 'v2.7.4'
hooks:
- id: pyupgrade
exclude: '(?:mistune/.*)'
args:
- --py36-plus
- repo: https://github.com/pycqa/isort
rev: '5.6.4'
rev: '5.7.0'
hooks:
- id: isort
exclude: '(?:mistune/.*)'
Expand Down
5 changes: 2 additions & 3 deletions .sync-zenodo-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ def sync(ctx, in_place=False, check=True):
if modified:
if in_place:
with open(".zenodo.json", "wb") as file:
file.write(
json.dumps(zenodo_updated, indent=4, sort_keys=True).encode("utf-8")
)
json_data = json.dumps(zenodo_updated, indent=4, sort_keys=True)
file.write((json_data + "\n").encode("utf-8"))
else:
click.echo(json.dumps(zenodo_updated, indent=4, sort_keys=True))
if check:
Expand Down
11 changes: 10 additions & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
"affiliation": "University of Minnesota",
"name": "Ramanish Singh",
"orcid": "0000-0002-7908-060X"
},
{
"affiliation": "University of Michigan",
"name": "Gabrielle Jones",
"orcid": "0000-0002-8041-4873"
},
{
"affiliation": "Jodhpur Institute of Engineering and Technology",
"name": "Shantanu Dave"
}
],
"creators": [
Expand Down Expand Up @@ -147,5 +156,5 @@
},
"title": "signac-flow",
"upload_type": "software",
"version": "0.11.0"
"version": "0.12.0"
}
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
cff-version: "1.0.3"
title: signac-flow
version: 0.11.0
version: 0.12.0
abstract: |
The signac-flow tool provides the basic components to set up simple to complex workflows for projects as part of the signac framework. That includes the definition of data pipelines, execution of data space operations and the submission of operations to high-performance super computers.
authors:
Expand Down
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The numbers in brackets denote the related GitHub issue and/or pull request.
Version 0.12
============

[0.12.0] -- 202x-xx-xx
[0.12.0] -- 2021-01-30
----------------------

Added
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = "0.11.0"
version = "0.12.0"
# The full version, including alpha/beta/rc tags.
release = "0.11.0"
release = "0.12.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion flow/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# This software is licensed under the BSD 3-Clause License.
"""Define the signac-flow version."""

__version__ = "0.11.0"
__version__ = "0.12.0"

__all__ = ["__version__"]
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.11.0
current_version = 0.12.0
commit = True
tag = False
message = Bump up to version {new_version}.
Expand All @@ -19,9 +19,7 @@ ignore-decorators = "deprecated"
[flake8]
max-line-length = 100
exclude = mistune
# Use select to ignore unwanted flake8 plugins
select = E,F,W
# Specify errors to ignore by default
ignore = E123,E126,E226,E241,E704,W503,W504

[coverage:run]
Expand All @@ -43,6 +41,6 @@ omit =
[bumpversion:file:.zenodo.json]

[tool:pytest]
filterwarnings =
filterwarnings =
ignore:.*get_id is deprecated.*:DeprecationWarning
ignore:.*The env argument is deprecated*:DeprecationWarning
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

setup(
name="signac-flow",
version="0.11.0",
version="0.12.0",
packages=find_packages(),
include_package_data=True,
zip_safe=True,
Expand Down