Skip to content

Commit

Permalink
fix: update manifest for v0.1.2
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
  • Loading branch information
kaechele committed Sep 7, 2023
1 parent 0de8a81 commit de57600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/napoleon_efire/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"documentation": "https://github.com/kaechele/napoleon-efire",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/kaechele/napoleon-efire/issues",
"requirements": ["bluetooth-data-tools>=0.2.0", "pybonaparte==0.1.1"],
"version": "0.1.0"
"requirements": ["bluetooth-data-tools>=0.2.0", "pybonaparte==0.1.2"],
"version": "0.1.1"
}

6 comments on commit de57600

@mrtnebrle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just updated to the latest version and the integration isn't loading with a 500 Server Error: Requirements for napoleon_efire not found: ['pybonaparte==0.1.2']

@kaechele
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the report. That usually means that some dependency resolution error preventing pybonaparte from being installed. This fix was meant to fix at least one of those.
Which version of Home Assistant and the custom integration are you running? Custom Integration should be at version after this update 0.1.1.

@mrtnebrle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running on HA 2023.9.0.dev20230829. Integration is 0.1.1.

Some more stack trace, hopefully tracking this more down:

Unable to install package pybonaparte==0.1.2: ERROR: Cannot install pybonaparte==0.1.2 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@mrtnebrle
Copy link

@mrtnebrle mrtnebrle commented on de57600 Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it by running the installation for pybonaparte manually.

$ pip install pybonaparte==0.1.2
Collecting pybonaparte==0.1.2
  Obtaining dependency information for pybonaparte==0.1.2 from https://files.pythonhosted.org/packages/fd/16/d774fa59d93c40486c308dbd3411b33110f73aef4d1024b1ec843610d4dd/pybonaparte-0.1.2-py3-none-any.whl.metadata
  Downloading pybonaparte-0.1.2-py3-none-any.whl.metadata (5.0 kB)
Requirement already satisfied: aenum<4.0.0,>=3.1.11 in /usr/local/lib/python3.11/site-packages (from pybonaparte==0.1.2) (3.1.15)
Requirement already satisfied: async-timeout<5.0.0,>=4.0.2 in /usr/local/lib/python3.11/site-packages (from pybonaparte==0.1.2) (4.0.3)
Collecting bleak<0.22.0,>=0.21.0 (from pybonaparte==0.1.2)
  Obtaining dependency information for bleak<0.22.0,>=0.21.0 from https://files.pythonhosted.org/packages/08/4a/7b6ff6710ec58f6709000b1fbc27b763e3921a1e5f23032aebe2531366fa/bleak-0.21.1-py3-none-any.whl.metadata
  Downloading bleak-0.21.1-py3-none-any.whl.metadata (5.3 kB)
Requirement already satisfied: bleak-retry-connector<4.0.0,>=3.1.0 in /usr/local/lib/python3.11/site-packages (from pybonaparte==0.1.2) (3.1.1)
Requirement already satisfied: dbus-fast<3,>=1.83.0 in /usr/local/lib/python3.11/site-packages (from bleak<0.22.0,>=0.21.0->pybonaparte==0.1.2) (1.94.1)
Requirement already satisfied: typing-extensions>=4.7.0 in /usr/local/lib/python3.11/site-packages (from bleak<0.22.0,>=0.21.0->pybonaparte==0.1.2) (4.7.1)
Requirement already satisfied: bluetooth-adapters>=0.15.2 in /usr/local/lib/python3.11/site-packages (from bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (0.16.0)
Requirement already satisfied: aiohttp>=3.8.1 in /usr/local/lib/python3.11/site-packages (from bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (3.8.5)
Requirement already satisfied: mac-vendor-lookup>=0.1.12 in /usr/local/lib/python3.11/site-packages (from bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (0.1.12)
Requirement already satisfied: usb-devices>=0.4.1 in /usr/local/lib/python3.11/site-packages (from bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (0.4.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (23.1.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (3.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (6.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.11/site-packages (from aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (1.3.1)
Requirement already satisfied: aiofiles in /usr/local/lib/python3.11/site-packages (from mac-vendor-lookup>=0.1.12->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (23.2.1)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.11/site-packages (from yarl<2.0,>=1.0->aiohttp>=3.8.1->bluetooth-adapters>=0.15.2->bleak-retry-connector<4.0.0,>=3.1.0->pybonaparte==0.1.2) (3.4)
Downloading pybonaparte-0.1.2-py3-none-any.whl (15 kB)
Downloading bleak-0.21.1-py3-none-any.whl (137 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.8/137.8 kB 1.3 MB/s eta 0:00:00
Installing collected packages: bleak, pybonaparte
  Attempting uninstall: bleak
    Found existing installation: bleak 0.20.2
    Uninstalling bleak-0.20.2:
      Successfully uninstalled bleak-0.20.2
  Attempting uninstall: pybonaparte
    Found existing installation: pybonaparte 0.1.1
    Uninstalling pybonaparte-0.1.1:
      Successfully uninstalled pybonaparte-0.1.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gardena-bluetooth 1.3.0 requires bleak<0.21.0,>=0.20.2, but you have bleak 0.21.1 which is incompatible.
Successfully installed bleak-0.21.1 pybonaparte-0.1.2

@kaechele
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's gardena-bluetooth getting in the way. Should be fixed in the newest version of the component: elupus/gardena-bluetooth@7f6dd1a

@mrtnebrle
Copy link

@mrtnebrle mrtnebrle commented on de57600 Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help, @kaechele. And: great implementation, btw. Thank you for that!

Please sign in to comment.