-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
META: Python 3.10 / 3.11 package status #5043
Comments
@th0ma7 octoprint cannot install the plugins due to permission restrictions for the pip module/install folder.
Edit:
|
That's odd, never faced that issue. And good thing it isn't yet released, leaving time to settle on this. |
Just a thought, I now wonder if the I'll try to check this out over the week-end. |
I wasn't able to reproduce... I was able to successfully install
Would you mind uninstalling it / reinstalling it and see if the issue is still there? On my end I'll give it another shot using a fully clean tree on master to check if I can reproduce. arch: kvmx64-7.0 EDIT: I'll also give it a shot on another arch such as armv7 / armv5 that I have available at home EDIT2: Found the same log file as you referred, and all is good there as well (re-built from maser). Also still able to install an additional plugin:
EDIT 3: same on armv7, no issues:
|
Sickchill should work fine from 3.6.2 to python 3.11.x, and possibly newer as long as all of the dependencies that require c-extenstion/rust-extensions are built. |
As I mentioned earlier, any homeassistant update needs cryptography ... that needs setuptools_rust to build the wheel. |
Thnx for your feedbacks to both of you. So it looks like rust is mandatory for any next steps... |
Yes, rust is going to become the defacto replacement for all c extensions over the next few years, and cryptography is a requirement of any application that makes web requests unless a pure python replacement comes along some day (crosses fingers). Cryptography could be done entirely in python with a small performance hit. |
rust is on my todo list but considering I've been sick over the last moth this will have to wait a little longer until I get better (or someone else tackle this over). In the meantime, we can stick with |
@mayweed is there any interest in upgrading |
No, fishnet was rewritten in Rust actually. So it's a whole New package now... |
@mayweed So for now we can just abandon it until someone updates it? I don't think we do rust yet.. |
I wonder if utilizing docker for pure rust builds is a good option for synocommunity? FROM rust:1.59.0 AS builder
WORKDIR /fishnet
RUN mkdir /source
RUN git clone [email protected]:Pumalo/docker-conf.git /fichnet && (git submodule update --init --recursive || true) && cargo build --release -vv
FROM scratch as export-stage
RUN mkdir -p /output/$TARGETPLATFORM
COPY --from=builder /fishnet/fishnet /output/$TARGETPLATFORM/ name: Build all necessary architectures for fishnet
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build docker image
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64, <add all arch here>
push: false
output: type=local,dest=output_dir
tags: fishnet-build
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new You'd have all of the binaries for each platform in Maybe a third party repository to automatically build these binaries and add them as release artifacts, thatr synocommunnity can wget in the build process. |
Working on a POC just to see if I can build rust binaries that way: https://github.com/miigotu/fishnet-binaries |
We already have rust support in spksrc. The following (cli) tools are built with rust:
|
I know that, but I still want to see if I can do this thing that way lol |
@th0ma7 any progress on building cryptography (cross) wheel with rust? (homeassistant package needs an update 😄). |
Nope, not yet. Nothing started neither. |
Updated that |
There are still packages that depend on python3 (i.e. 3.7) in the repo, that are not updated to Python 3.10/3.8 yet
|
@hgy59 good catch, while they where all migrated to python310 but not published yet. And as for python38, only one left is |
@th0ma7 my target is to be able to build a wheel of cryptography 36.0.2, so that I can upgrade my homeassistant core installation using that wheel. |
Sadly my cycles are really limited at the moment and will remain for a few weeks. Realistically this might slip until end of summer early fall unless i stumble on an easy solution before then. |
@th0ma7 thanks for the quick response. |
@th0ma7 did you ever consider gateone package? (#4524 (comment)) |
Nope, and sadly no clue what taht is (on vacation with limited internet) |
"Gate One is an HTML5-powered terminal emulator and SSH client" |
@cytec I tested the |
@hogi1200 rust wheels is now available on master, enjoy :) |
Any information on Mylar? Currently gives Python errors, I saw this Issue linked to an issue about Mylar but don't see it in the table in the original post. |
@Casuallynoted you find the request for Mylar (3) in #4232 |
@SynoCommunity/developers is there still interest in domoticz? It's the only py38 package remaining. |
I had thought this was a Russian software, but I just learned it is from India. Honestly, there are much more advanced and widely used smart home operating systems and standalone softwares such as home assistant and zigbee2mqtt. |
@SynoCommunity/developers I've noticed that there is only EDIT: Re-reding my previous post, if no one is against it I'll remove |
You have my vote. Nobody bothered to fix it in years.. |
There is still a PR for domoticz (#4730) |
That PR is 2 years old... you really intent to pursue that? Anyway, I'll revert my commit from #5724 for now. EDIT: @hgy59 I ended-up updating python38 up to latest version until we get rid of it entirely. Let me know if I can help at completing domoticz migration towards 3.10-3.11 asap to clean-up older |
Closing as since all packages got migrated to 3.11. |
Python 3.10 package status
High-level python PR
Packages formally using python 3.x
Fixed: borgbackup/borg#6105
python38
Looks like working based on testing fbd9819
Confirmed, fixed #5155
#5137
#5527
Packages formally using python 2.x (#4524)
Framework clean-up
cross/asyncstdlib
cross/borgbackup
borgbackup
cross/cryptography
duplicity
abi3
wheelscross/cryptography-legacy
python2
cross/deluge
deluge
cross/dtlssocket
homeassistant
pip
cross/duplicity
duplicity
cross/gevent
ffsync
cross/greenlet
ffsync
,python38
cross/immutables
,python3
python38
cross/libtorrent
deluge
cross/lxml
python2
,,python3
python38
cross/m2crypto
python2
cross/mercurial
mercurial
cross/msgpack-python
python2
,,python3
python38
cross/numpy
homeassistant
Fixed #5155
cross/octoprint
octoprint
cross/pillow
cross/pillow_py2
python2
cross/pocketsphinx
cross/poetry
cross/pyalsa
python2
cross/pyaudio
python2
cross/pycryptodome
cross/pycryptodomex
cross/pycurl
python2
,,python3
python38
cross/PyNaCl
cross/pyyaml
python2
,,python3
python38
cross/pyzmq
python2
cross/rencode
deluge
cross/ruamel.yaml
,python3
python38
cross/sphinxbase
cross/pocketsphinx
cross/stockfish-niklasf
spk/fishnet
cross/ujson
homeassistant
cross/umemcache
cross/uwsgi
python2
cross/webrtcvad
The text was updated successfully, but these errors were encountered: