184 Commits
Author SHA1 Message Date
Eric Callahan 9fc3a70570 build: bump apprise to version 1.9.8
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-03-21 06:19:33 -04:00
Eric Callahan 7e92d8a2a9 build: bump tornado to version 6.5.5
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-03-17 06:14:54 -04:00
Eric Callahan 811347c663 build: use uv for project management
Switch to "uv" for package and project management.  Currently
the pdm backend is still used to perform the build due to its
built-in scm versioning and flexible build hooks.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-03-16 19:48:52 -04:00
Eric Callahan 4b751e79e1 build: update universal zeroconf wheels
Version 0.136.2 is the last release supporting Python 3.8,  0.148.0 is the latest release at the time of this commit.  These provide fallback options for
platforms for which wheels are not available.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-01-15 00:26:27 +00:00
Eric Callahan 3ea83163b0 build: update python dependencies to their latest versions
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-01-14 16:21:49 +00:00
Eric Callahan 0e8dd923f8 install: add support for dev container installs
Add support for installing Moonraker inside a vscode "python"
dev container.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-01-14 12:49:16 +00:00
Eric Callahan 2b1c70a9e1 build: update python dev requirements
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2026-01-14 12:49:16 +00:00
Eric Callahan 37d46d284f scripts: update pk-enum-converter.py
Minor improvement to docstring item description formatting.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-11-23 11:17:45 +00:00
Eric Callahan 72b89d905e build: add libcamera2 optional dependency
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>

fix
2025-07-24 06:15:34 -04:00
Eric Callahan 0cc941f7e0 build: bump tornado and dbus-fast
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-06-27 10:41:04 -04:00
Icenowy Zheng 7cdcca3cb4 build: bump pillow for Python >=3.9
Pillow 10 does not support Python 3.13 and Pillow 11 does not support
Python 3.8.

Allowing Pillow from 9.5.0 to 11.1.0 in requirements to adapt Pillow 11
when it's available.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2025-04-03 10:32:01 -04:00
Eric Callahan f2d53fe386 install: update package resolution method
Embed the sysdeps_parser module in the install script
for package dependency resolution.  This method is
more robust than the bash implementation and adds
support for the new requirement specifiers.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-02-21 16:54:12 -05:00
Eric Callahan f3b0afd574 build: bump streaming-form-data package
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-02-03 06:08:49 -05:00
Eric Callahan ac4959cfbf build: bump tornado and apprise packages
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-02-03 05:37:27 -05:00
dependabot[bot] 8f4ed621a7 build(deps): bump jinja2 from 3.1.4 to 3.1.5
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 05:25:08 -05:00
Eric Callahan d4d2074466 scripts: update fetch-apikey.sh
Fetch the API Key from Moonraker's SQL database when available.

Add a -g option which will generate a new API Key and insert it into the database.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-24 07:42:19 -05:00
Eric Callahan 73dc4e50eb build: remove pyserial-asyncio requirement
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan fccffa96c6 build: replace dbus_next with dbus_fast
The dbus_next dependency is no longer maintained.  Replace
it with dbus_fast, which is a fork and drop in compatible.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-12 07:39:35 -05:00
Eric Callahan 73ad860bb9 install: add ubuntu specific dependencies
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-09 16:29:44 -05:00
Eric Callahan c79ba01dba install: support for package requirement specifiers
Initial support for pip-like requirement specifiers applicable
to system packages.  This allows for a package dependencies
specific to distribution version.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-09 16:28:03 -05:00
Eric Callahan d1c2dcca0b install: update location of policy-rules script
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-09-05 08:15:21 -04:00
Eric Callahan c2409e813e build: shared data fix
Make sure the scripts directory is included in the "data/share"
folder in the wheel.  In addition, remove the stray .gitignore
that is included when building a wheel from an sdist.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00
Eric Callahan 83371cf135 project: add support for dependency syncing
Use pre-commit to synchronize python requirements between
pyproject.toml and the various requirements files.  In addition,
syncronize the contents of system-dependencies.json with
Moonraker's installer.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00
Eric Callahan 247640cc27 install: add support for installing from pip
Include distribution  detection for future support of
distros not compatible with Debian.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00
Eric Callahan 8debbf8ba4 source_info: resolve importlib_metadata compatibility issues
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 14:16:42 -04:00
Eric Callahan cdef4e7393 build: add importlib_metadata dependency
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 06:29:59 -04:00
Eric Callahan 8f3b30a04f build: bump tornado to version 6.4.1
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-06-23 05:42:18 -04:00
Eric Callahan 64ffe22545 build: dependency updates
Remove lmdb python and system dependencies.  Bump
streaming-form-data to 1.15.0 and remove smart_open
as the issue import issue has been resolved.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
dependabot[bot] 73df63db1f build(deps): bump jinja2 from 3.1.3 to 3.1.4
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-18 08:02:28 -04:00
dependabot[bot] 5a60d64f04 build(deps): bump pillow from 9.5.0 to 10.3.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.5.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.5.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 19:55:27 -04:00
Eric Callahan 9813011db2 build: pin smart_open to 6.4.0 or lower
This is a temporary workaround to resolve a bug in smart_open 7.0.
Moonraker does not depend on smart_open directly or use its
functionality, however `streaming_form_data` pulls in in.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-02-26 05:54:41 -05:00
Frank Tackitt d18021950d build: bump preprocess_cancellation to 0.2.1
0.2.1 ensures that the exclude_object markers are the first
 non-comment g-code in the files, fixing issues with klipper adaptive
 meshing

Signed-off-by: Franklyn Tackitt <git@frank.af>
2024-02-01 10:34:08 -05:00
Eric Callahan 01ad427d75 build: bump dependency versions
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-01-13 15:15:13 -05:00
Eric Callahan 84a8538597 build: fix pdm build regression
Use shutil.copytree to copy folders in the "scripts" path.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-01-01 05:51:09 -05:00
Eric Callahan 54dc887254 build: bump zeroconf to 0.131.0
Add a local fallback link with a pure python wheel to
prevent build issues on systems where cython wheels are
not available.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-12-31 11:18:25 -05:00
Eric Callahan c4d15e40a8 install: speedup zeroconf install
Export SKIP_CYTHON prior to intalling Moonraker's python requirements.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-12-28 16:37:09 -05:00
Eric Callahan 78d7a4f560 build: remove gpiod deps, add python-periphery
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-12-22 18:19:58 -05:00
Eric Callahan b8ce199edd install: fix dbus provider detection
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-10-11 07:48:24 -04:00
Eric Callahan fd11c08b99 build: update python dependencies
The latest version of several dependencies has deprecated
Python 3.7.  Update Moonraker's requirements so that
the latest version is installed without breaking existing
installations.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-10-10 18:23:26 -04:00
Eric Callahan ffbb628ce2 scripts: add support for installing speedups
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-10-07 07:40:40 -04:00
Eric Callahan e90691f168 build: bump zeroconf version
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-10-07 07:10:13 -04:00
Eric Callahan 1857eecb36 install: use environment vars for service env file
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-07-25 19:36:18 -04:00
Pedro Lamas 09f9043e9a requirements: bump lmdb to 1.4.1
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2023-06-17 13:46:24 -04:00
Eric Callahan 4cc0e86dc0 build: bump apprise to version 1.3.0
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 12:28:42 -05:00
Eric Callahan 7520d0e7b1 install: update script to set PYTHONPATH env var
This is preferable to setting the WorkingDirectory item in
the systemd unit, as its possible to switch between git repos
and installed wheels without requiring root.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-22 18:08:49 -05:00
Eric Callahan a3121775fc build: add initial support for pdm build
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-22 18:08:46 -05:00
Eric Callahan a5790d4b84 install: add moonraker system deps json file
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-22 12:41:57 -05:00
Eric Callahan b50057c3ba install: remove dependency on pycurl
Moonraker no longer uses the curl http client backend.  The curl
commandline client is still used in some scripts and thus has been
retained.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-22 12:16:28 -05:00
Eric Callahan ea4ec1f424 scripts: add halt polkit rules
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-08 11:11:34 -05:00
Eric Callahan 1bad68cb66 dbtool: improve encoded line regex
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-01-28 12:09:36 -05:00