Coder Social home page Coder Social logo

wheels-custom-integrations's Introduction

Custom Integration Wheels

Home Assistant uses musllinux wheels for the integration. For your custom component library, you need to provide any wheels, or if they include binaries, musllinux wheels. You can upload this as well with the release to PyPI.

Sometimes you need 3-party library they don't want provide musllinux or any wheels. In that case you can request to add this library into requirements.txt

wheels-custom-integrations's People

Contributors

alandtse avatar alryaz avatar aohzan avatar bieniu avatar bouni avatar bramkragten avatar bruxy70 avatar cjne avatar dcsbl avatar dependabot[bot] avatar dgomes avatar djtimca avatar dsorlov avatar eifinger avatar frenck avatar hellowlol avatar jcgoette avatar koljawindeler avatar ktibow avatar laszlojakab avatar ludeeus avatar martinhjelmare avatar matthewflamm avatar pvizeli avatar sholofly avatar syssi avatar thomas55555 avatar tikismoke avatar toreamun avatar troykelly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wheels-custom-integrations's Issues

Issue with husqvarna-automower package

My pypi package was added to the wheel with the pull request #126. In 308409d it was deleted because of an issue with the package. How can I find out what issue it is, to fix it? Sorry, that I don't have an idea. It's the first package I created.

PyADS package is build as platform independant incorrectly

Hi all,

In my pursuit to try and look into the issues listed here:
home-assistant/wheels#458
home-assistant/core#74067
home-assistant/core#74952

I'm trying to report the issue here as it seems to me that here the actual wheels packages are maintained. The main issue is that the pyads package is built platform independent while it also has a C++ part which needs to be built per platform.

Anybody has a pointer in the right direction for getting this fixed?

glocaltokens package wheels are no longer built

Google Home integration was added to wheels-custom-integrations in March last year (https://github.com/home-assistant/wheels-custom-integrations/blob/master/components/google_home.json), however for some reason the last built wheels are dated to September 2021 on glocaltokens version 0.5.0. There were a bunch more glocaltokens releases after it, but for some reasons the wheels for those were not build.
Does anyone know what could be an issue here?

image

Bosch package is not built by wheels anymore

Hi,
I'm not sure if it is proper repo to ask. If not please help me to reach to proper repo.
I run github action hacs/action@main.

As far as I see logs it fetches

  • Alpine 3.14 image,
  • building docker image
  • running docker image
  Successfully tagged validate:latest
  [
    "bosch-thermostat-client==0.16.5"
  ]
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python3 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp47a8txqd
         cwd: /tmp/pip-install-tlo20hfh/cryptography
    Complete output (158 lines):
    running bdist_wheel
    running build
    running build_py

It ends with:

    error: [Errno 2] No such file or directory: 'cargo'
    ----------------------------------------
    ERROR: Failed building wheel for cryptography
  ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
  Validating requirements

I'm looking into: https://wheels.home-assistant.io/alpine-3.14/amd64/ and I see that last build of bosch_thermostat_client is from September.
Link to logs: https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/runs/4165110755?check_suite_focus=true

File attached as well
5_Run [email protected]
.
Thanks for your help!

Drop python 3.8 support

Both this repository and https://github.com/home-assistant/wheels currently build wheels using python 3.8 and 3.9.
Home Assistant dropped support for python 3.8 in 2022.2.

Therefore I wanted to ask if it would be possible to also drop python 3.8 support from the wheels builder.

This is currently blocking me from submitting my custom integration here, as it's dependency requires python 3.9 and therefore fails the CI on this repo.

building wheel hidapi

I'm writing a custom component that uses hidapi but getting following error.

I tried to install the gcc apk install gcc but the result is same (tested on rpi3, and x86_64)

Can i make a PR for requirements.txt to add hidapi?

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
/usr/local/lib/python3.11/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_ext
cythoning hid.pyx to hid.c
/usr/local/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-ox_pleup/hidapi_d6500b4f92b84d669302d8baf04a986e/hid.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning hidraw.pyx to hidraw.c
/usr/local/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-ox_pleup/hidapi_d6500b4f92b84d669302d8baf04a986e/hidraw.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'hid' extension
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/hidapi
creating build/temp.linux-x86_64-cpython-311/hidapi/libusb
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/local/include/python3.11 -c hid.c -o build/temp.linux-x86_64-cpython-311/hid.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hidapi
ERROR: Could not build wheels for hidapi, which is required to install pyproject.toml-based projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.