Skip to content

Commit

Permalink
Attempt to fix requirement versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ldotlopez committed Jan 2, 2023
1 parent 09a60e5 commit 89c3df9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
aiohttp = "*"
attrs = "==21.2.0"
aiohttp = "<4.0,>=3.8"

[dev-packages]
ipdb = "*"
Expand Down
6 changes: 3 additions & 3 deletions ideenergy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ async def _main():
)

try:
data = await _main()
if data := await _main():
print(pprint.pformat(data))

except RequestFailedError as e:
print(f"Request failed: {e}", file=sys.stderr)
await session.close()
return
sys.ext(1)

print(pprint.pformat(data))
await session.close()


Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[metadata]
name = ideenergy
version = 1.0.0-rc1
version = 1.0.0-rc2
author = Luis López
author_email = [email protected]
description = Interface to i-de.es energy data
Expand All @@ -22,11 +22,10 @@ package_dir =
packages = find:
python_requires = >=3.9
install_requires =
aiohttp
attrs == 21.2.0
aiohttp>=3.8.0, <4

[options.extras_require]
mqtt = paho-mqtt >= 1.6.1
mqtt = paho-mqtt >= 1.6.1, <2

[options.packages.find]
where =
Expand Down

0 comments on commit 89c3df9

Please sign in to comment.