Skip to content

Commit

Permalink
Update version name to conform to PEP 440
Browse files Browse the repository at this point in the history
New versions of pip require version names to conform to PEP 440 to be installed.

CR: Jeremy
  • Loading branch information
ryan-brilliant committed May 9, 2021
1 parent 877cded commit 3f3d2f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aioredis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
)


__version__ = '1.3.1-brilliant.0'
__version__ = '1.3.1+brilliant.0'

__all__ = [
# Factories
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def read(*parts):


def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.\-a-z]+)'")
regexp = re.compile(r"^__version__\W*=\W*'([\d.\-a-z+]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aioredis', '__init__.py')
with open(init_py) as f:
Expand Down

0 comments on commit 3f3d2f0

Please sign in to comment.