That should allow us to use dependabot and other tooling and also future
proof the setup.
In theory we could get everything to work without a setup.py at all, however
the Python environmements encountered in the field might not yet support
all features of setup.cfg yet (see comments).
pyproject.toml would be even nicer, alas, there the support in the field looks
even less good, so setup.cfg it is.
TODO: check this installs under all supported environments
The original project has been abandoned two years ago: https://pypi.org/project/netifaces/
The new project claims to be nearly fully API-compatible: https://pypi.org/project/netifaces2/
Note the differences regarding `gateways` function and `AF_` constants.
The OctoPrint code however does not seem to use any of those, I tested the web interface without facing issues or errors, so given the CI/CD is passed, it should be fine.
Signed-off-by: MichaIng <micha@dietpi.com>
* Use webcam container for intersection instead of controls
* Removed check for tab visibility, fully rely on control.js logic
* Allow intersection observers to be recreated
* Use onStartupComplete as callback to defer intersection initialization
Apparently we have an issue when updating from an older OctoPrint install
that included that to a newer one that depends on OctoPrint-Setuptools, because
the `octoprint_setuptools` package simply won't be installed in that case.
A reinstall after updating OctoPrint makes it available, but that's not something
we can do in the field.
Long term this needs a better solution, short term we are simply going to provide
OctoPrint-Setuptools to pyproject.toml users, and a vendored copy here. It's the
only solution I see for now.
Really closes#4749
This is the final version to include universal wheels. Newer versions
seem to have native C extensions, no arm wheels are provided, building
them on a Pi takes *ages* and piwheels.org currently doesn't have
already compiled wheels for latest available either due to build issues.
For now we'll stick to 0.39.4, long term we might have to compile our own
wheels find another solution.
The latest version of Babel no longer supports this
but raises an error, which in turn leads to a
500 Server Error response here.
To fix this, we set a default for best_match.
Closes#4744
baseURL needs to be prefixed manually, since
PlayWright will use `new URL` internally which
interprets our paths relative to the domain,
not any paths provided as well.