Skip to content

Commit

Permalink
v0.3.4 (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
schuylermartin45 authored Oct 23, 2024
1 parent 03f6061 commit 6f8e34c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ NOTES:
- Version releases in the 0.x.y range may introduce breaking changes.
- See the auto-generated release notes for more details.

## 0.3.4
- Makes `DependencyVariable` type hashable.

## 0.3.3
- Fixes a bug discovered by user testing relating to manipulating complex dependencies.
- Renames a few newer functions from `*_string` to `*_str` for project consistency.
Expand Down
8 changes: 8 additions & 0 deletions conda_recipe_manager/parser/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ def __eq__(self, o: object) -> bool:
return False
return self.name == o.name

def __hash__(self) -> int:
"""
Hashes this `DependencyVariable` instance.
:returns: The hash value of this object.
"""
return hash(self.name)


# Type alias for types allowed in a Dependency's `data` field.
DependencyData = MatchSpec | DependencyVariable
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""
project = "Conda Recipe Manager"
author = "various"
release = "0.3.3"
release = "0.3.4"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude = ["tests"]

[project]
name = "conda_recipe_manager"
version = "0.3.3"
version = "0.3.4"
authors = [
{ name="Anaconda, Inc.", email="distribution_team@anaconda.com" },
]
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "conda-recipe-manager" %}
{% set version = "0.3.3" %}
{% set version = "0.3.4" %}

package:
name: {{ name|lower }}
Expand Down

0 comments on commit 6f8e34c

Please sign in to comment.