Skip to content

Commit

Permalink
Bump version and update test dependencies (#62)
Browse files Browse the repository at this point in the history
* bump version and update test depends

* prepare the last of the release items
  • Loading branch information
nllong authored Aug 8, 2023
1 parent 8b01c43 commit 8473e78
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .cspell/custom-dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Custom Dictionary Words
modelica
Aluminium
modelica
precommit
redeclaration
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ repos:
"--remove-unused-variable",
]
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args:
["--ignore=F401,E402,E501,E731,W503,W504", "--max-line-length=100"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v3.0.1
hooks:
- id: prettier
# for now ignoring html, javascript
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,27 @@
Changelog
=========

Version 0.3.0
=============

* bump version and copyright dates by @nllong in https://github.com/urbanopt/modelica-builder/pull/55
* Add get method for a component's argument by @nllong in https://github.com/urbanopt/modelica-builder/pull/57
* Update README.rst by @nllong in https://github.com/urbanopt/modelica-builder/pull/58
* build(deps): bump pygments from 2.12.0 to 2.15.0 by @dependabot in https://github.com/urbanopt/modelica-builder/pull/60
* Add extends redeclare update method by @nllong in https://github.com/urbanopt/modelica-builder/pull/59
* Add method for getting and setting parameters by @nllong in https://github.com/urbanopt/modelica-builder/pull/61

Version 0.2.3
=============

* Update precommit and ci by @nllong in https://github.com/urbanopt/modelica-builder/pull/54
* Update overwrite_component_redeclaration to handle the redeclare of args by @nllong in https://github.com/urbanopt/modelica-builder/pull/53

Version 0.2.2
=============

* Add component argument/parameter deletion, remove_component_argument
* Add test for deleting a "constant Ingeger x=5" component
* Add test for deleting a "constant Integer x=5" component
* Update testing dependencies
* Add component redeclare package argument replacement

Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ Release Instructions

* Bump version to <NEW_VERSION> in setup.cfg (use semantic versioning as much as possible).
* Run `pre-commit --all-files`
* In a prep-release branch, push the changes to GitHub and draft a release against the latest branch.
* Run 'auto-generate changelog' and copy the contents to the CHANGELOG.rst. Cull any items that are repeated.
* Discard the draft release (you will create an official one off of the main branch)
* Merge the prep-release branch into develop.
* Create a PR against develop into main.
* Run `git tag <NEW_VERSION>`. (Note that `python setup.py --version` pulls from the latest tag`.)
* After main branch passes, then merge and checkout the main branch. Build the distribution using the following code:
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
antlr4-python3-runtime==4.8

# Testing packages
pre-commit==2.19.0
Pygments==2.15.0
pytest==7.1.2
pytest-benchmark==3.4.1
pytest-cov==3.0.0
tox==3.25.0
pre-commit==3.3.3
Pygments==2.16.1
pytest==7.4.0
pytest-benchmark==4.0.0
pytest-cov==4.1.0
tox==4.7.0
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[metadata]
name = modelica-builder
description = Modelica builder enables programmatic parsing and modification of Modelica files
version = 0.2.3
version = 0.3.0
author = Nicholas Long
author_email = nicholas.long@nrel.gov
license = BSD-3 Clause
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


class UpdateLicenses(distutils.cmd.Command):
"""Custom comand for updating the license doc strings."""
"""Custom command for updating the license doc strings."""

description = "Update the license/copyright headers"

Expand Down

0 comments on commit 8473e78

Please sign in to comment.