Skip to content

Commit

Permalink
Release/0.14.0 (#507)
Browse files Browse the repository at this point in the history
* Update changelog

* Use python3 for .sync-zenodo-metadata.py

* Update .zenodo.json file

* Update pre-commit configuration

* Bump up to version 0.14.0.

* Skip pre-checks in favor of pre-commit CI.

* Use tokens.

* Update comment.

Co-authored-by: Bradley Dice <[email protected]>
  • Loading branch information
b-butler and bdice authored Apr 27, 2021
1 parent 6cf7227 commit 620b34f
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 33 deletions.
18 changes: 5 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,11 @@ workflows:
version: 2
test:
jobs:
- pre-checks
- linux-python-39:
requires:
- pre-checks
- linux-python-38:
requires:
- pre-checks
- linux-python-37:
requires:
- pre-checks
- linux-python-36-oldest:
requires:
- pre-checks
# - pre-checks
- linux-python-39
- linux-python-38
- linux-python-37
- linux-python-36-oldest
- linux-python-39-signac-15:
requires:
- linux-python-39
Expand Down
12 changes: 6 additions & 6 deletions .circleci/deploy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ set -u
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
# PYPI_API_TOKEN - (Required, Secret) Token for the publisher's account on PyPI
# TEST_PYPI_API_TOKEN - (Required, Secret) Token for the publisher's account on TestPyPI

cat << EOF > ~/.pypirc
[distutils]
Expand All @@ -16,13 +16,13 @@ index-servers=
testpypi
[pypi]
username: ${PYPI_USERNAME}
password: ${PYPI_PASSWORD}
username: __token__
password: ${PYPI_API_TOKEN}
[testpypi]
repository: https://test.pypi.org/legacy/
username: ${PYPI_USERNAME}
password: ${PYPI_PASSWORD}
username: __token__
password: ${TEST_PYPI_API_TOKEN}
EOF

# Create wheels and source distribution
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
- id: isort
exclude: '(?:mistune/.*)'
- repo: https://github.com/psf/black
rev: '21.4b0'
rev: '21.4b1'
hooks:
- id: black
exclude: '(?:mistune/.*)'
Expand Down
2 changes: 1 addition & 1 deletion .sync-zenodo-metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""Synchronize authors and contributor metadata.
This script synchronizes the metadata provided in the CITATION.cff and
Expand Down
7 changes: 6 additions & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@
{
"affiliation": "",
"name": "Ange-Desire Gnabro"
},
{
"affiliation": "University of Michigan",
"name": "Charlotte Zhao",
"orcid": "0000-0003-4915-1064"
}
],
"creators": [
Expand Down Expand Up @@ -160,5 +165,5 @@
},
"title": "signac-flow",
"upload_type": "software",
"version": "0.13.0"
"version": "0.14.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.13.0
version: 0.14.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
10 changes: 5 additions & 5 deletions 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.14
============

[0.14.0] -- 2021-xx-xx
[0.14.0] -- 2021-04-27
----------------------

Added
Expand All @@ -17,12 +17,12 @@ Added
- Documentation for all directives (#480).
- Defined validators for the ``fork`` directive (#480).
- Submission summary now appears in ``FlowProject`` status output, showing the number of queued, running, unknown statuses. (#472, #488).
- Status overview now shows the number of jobs with incomplete operations and totals for the label overviews (#501).
- Status overview now shows the number of jobs with incomplete operations and totals for the label overviews (#481, #501).

Changed
+++++++

- Renamed TorqueEnvironment and related classes to PBSEnvironment (#491).
- Renamed TorqueEnvironment and related classes to PBSEnvironment (#388, #491).
- LSF and SLURM schedulers will appear to be present if the respective commands ``bjobs -V`` or ``sbatch --version`` exit with a non-zero error code (#498).
- Only known JobStatus values will be written to the project document, to save space and writing time (#503).

Expand All @@ -32,12 +32,12 @@ Fixed
- Strictly enforce that operation functions cannot be used as condition functions (and vice-versa) and prevent the registration of two operations with the same name (#496).
- Changed default value of ``status_parallelization`` to none, to avoid bugs in user code caused by thread parallelism and overhead in process parallelism (#486).
- Memory directives are converted to an integer number of gigabytes or megabytes in submission scripts (#482, #484).
- Fixed behavior of ``--only-incomplete-operations`` (#501).
- Fixed behavior of ``--only-incomplete-operations`` (#481, #501).

Removed
+++++++

- Removed ``FlowProject.add_operation`` (#487).
- Removed ``FlowProject.add_operation`` (#479, #487).
- Removed deprecated ``--walltime`` argument (#478).
- Removed deprecated ``flow.run`` interface (#478).
- Removed deprecated ``FlowProject.export_job_statuses`` (#478).
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.13.0"
version = "0.14.0"
# The full version, including alpha/beta/rc tags.
release = "0.13.0"
release = "0.14.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.13.0"
__version__ = "0.14.0"

__all__ = ["__version__"]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.13.0
current_version = 0.14.0
commit = True
tag = False
message = Bump up to version {new_version}.
Expand Down
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.13.0",
version="0.14.0",
packages=find_packages(),
include_package_data=True,
zip_safe=True,
Expand Down

0 comments on commit 620b34f

Please sign in to comment.