Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Nov 16, 2023
1 parent a49ce23 commit 9f15424
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ nosetests.xml
# project-specific
*.plots
*.pkl
*.yml
7 changes: 7 additions & 0 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,10 @@ setup_cfg:
# tol for synapses is high b/c Nengo uses SS and we use num/den
- tests/test_synapses.py::test_* atol=1e-5
- tests/test_transforms.py::test_convolution[* atol=1e-5

version_py:
major: 3
minor: 0
patch: 0
release: true

25 changes: 25 additions & 0 deletions .templates/pkg/version.py.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% include "templates/pkg/version.py.template" %}

bad_nengo_versions = [
(2, 0, 0),
(2, 0, 1),
(2, 0, 2),
(2, 0, 3),
(2, 0, 4),
(2, 1, 1),
(2, 1, 2),
(2, 2, 0),
(2, 3, 0),
(2, 3, 1),
(2, 4, 0),
(2, 5, 0),
(2, 6, 0),
(2, 7, 0),
(2, 8, 0),
(3, 0, 0),
]

# --- latest Nengo version at time of release
latest_nengo_version_info = (3, 1, 0) # (major, minor, patch)
latest_nengo_version = ".".join(str(v) for v in latest_nengo_version_info)

6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Release History
- Removed
- Fixed
2.1.1 (unreleased)
==================
3.0.0 (November 16, 2023)
=========================

*Compatible with Nengo 3.1.0*

Expand All @@ -38,13 +38,15 @@ Release History
would result in a large increase in memory usage, we fall back on the old CSR format.
To force a particular format, set the ``NENGO_OCL_SPMV_ALGORITHM`` environment
variable to either "ELLPACK" or "CSR". (`#188`_)
- Made NengoOCL available under the GPLv2 license. (`#191`_)

**Removed**

- Dropped support for Python 3.5. (`#187`_)

.. _#187: https://github.com/nengo/nengo-ocl/pull/187
.. _#188: https://github.com/nengo/nengo-ocl/pull/188
.. _#191: https://github.com/nengo/nengo-ocl/pull/191

2.1.0 (Nov 23, 2020)
====================
Expand Down
35 changes: 22 additions & 13 deletions nengo_ocl/version.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
"""NengoOCL version information.
# Automatically generated by nengo-bones, do not edit this file directly

We use semantic versioning (see http://semver.org/).
and conform to PEP440 (see https://www.python.org/dev/peps/pep-0440/).
'.devN' will be added to the version unless the code base represents
a release version. Release versions are git tagged with the version.
# pylint: disable=consider-using-f-string,bad-string-format-type

"""
NengoOCL version information.
We use semantic versioning (see http://semver.org/) and conform to PEP440 (see
https://www.python.org/dev/peps/pep-0440/). '.dev0' will be added to the version
unless the code base represents a release version. Release versions are git
tagged with the version.
"""

# --- version of this release
name = "nengo_ocl"
version_info = (2, 1, 1) # (major, minor, patch)
dev = 0
version = "{v}{dev}".format(
v=".".join(str(v) for v in version_info),
dev=(".dev%d" % dev) if dev is not None else "",
)
version_info = (3, 0, 0)

name = "nengo-ocl"
dev = None

# use old string formatting, so that this can still run in Python <= 3.5
# (since this file is parsed in setup.py, before python_requires is applied)
version = ".".join(str(v) for v in version_info)
if dev is not None:
version += ".dev%d" % dev # pragma: no cover

copyright = "Copyright (c) 2013-2023 Applied Brain Research"

bad_nengo_versions = [
(2, 0, 0),
Expand Down

0 comments on commit 9f15424

Please sign in to comment.