Commit graph

448 commits

Author SHA1 Message Date
HellAholic
e0917b9b72 Fix PyPI API compatibility for local version identifiers
Strips local version identifiers (after '+') from package versions when constructing PyPI API URLs to ensure compatibility. Also updates version assignment to prefer the original version if available.
2025-10-30 16:48:01 +01:00
HellAholic
fbfe26a326 Improve error handling for PyPI license retrieval
Added try/except blocks to handle network and data errors when retrieving package information and licenses from PyPI. The code now logs warnings and falls back to minimal dependency descriptions if requests fail or data is missing, improving robustness and preventing build failures due to external issues.
2025-10-30 16:28:04 +01:00
Wouter Symons
f8810c463a conanfile.py: correct quotes in f-string 2025-07-27 15:30:32 +02:00
Erwan MATHIEU
581d8e3a12 Use shorter commit reference
CURA-12408
2025-07-07 09:55:37 +02:00
Erwan MATHIEU
b617f2c27e Fix commit key (too many MMMMMs)
CURA-12408
2025-07-07 09:29:30 +02:00
Erwan MATHIEU
87eb3b4705 Fix string comparison
CURA-12408
2025-07-07 09:25:39 +02:00
Erwan MATHIEU
2debe37e72 Use specific config folder for alpha versions
CURA-12408
2025-07-07 09:18:22 +02:00
Erwan MATHIEU
0fd7766db3 Fix color-switching code which only worked until 27/03 2025-03-28 14:14:27 +01:00
Remco Burema
fa8e4b26cf Delete test-colors path in any case + small refactors.
Less indents and more logging.

part of CURA-12469
2025-03-25 08:46:12 +01:00
Remco Burema
2b032af13c Broaden the 'internal' condition a bit.
Should help with testing as well.

CURA-12469
2025-03-19 16:39:37 +01:00
Remco Burema
a9018a06c4 Have developer/tester/etc. builds be distinct per biweekly day.
Less cause for confusion when sending out internal builds to test/develop on.

CURA-12469
2025-03-19 15:39:00 +01:00
Erwan MATHIEU
1f7f9b4b53 Filter our private repositories from getting licences 2025-02-26 15:59:35 +01:00
Erwan MATHIEU
d3558ab377 Build binary translation messages on Windows on any shell
This is an attempt to see what actually happens, and may have to be reverted
2025-02-26 14:10:27 +01:00
Erwan MATHIEU
6833a38999 Apply new package name for for release 2025-02-26 10:56:43 +01:00
Erwan MATHIEU
cacb1ad625 Do not re-generate CuraVersion.py at deploy time 2025-02-24 12:50:19 +01:00
Erwan MATHIEU
c5de525710 Fix option name 2025-02-21 16:47:40 +01:00
Erwan MATHIEU
822ce020eb Restore unnecessarily changed indentation
CURA-7435
2025-02-21 08:08:05 +01:00
Erwan MATHIEU
fedf5a4794 Restore unnecessarily changed indentation
CURA-7435
2025-02-21 08:05:27 +01:00
Erwan MATHIEU
399d622eeb Merge remote-tracking branch 'origin/main' into CURA-7435_3DConnexion 2025-02-20 15:20:48 +01:00
Erwan MATHIEU
22089641b8 Fix writing the UTF-8 licenses
CURA-12400
2025-02-20 13:59:43 +01:00
Erwan MATHIEU
6dbb1c7dde Encode rendered Jinja template to utf-8 before writing
CURA-12400
2025-02-20 13:49:40 +01:00
Erwan MATHIEU
b227ea1585 Handle utf8 licenses on all platforms
CURA-12400
2025-02-20 13:29:40 +01:00
Erwan MATHIEU
3d5612b609 Always use utf8 encoding for licenses
CURA-12400
2025-02-20 12:02:50 +01:00
Erwan MATHIEU
6efbcb4ff6 Apply suggested review changes
CURA-12400
2025-02-19 15:09:12 +01:00
Erwan MATHIEU
575458c1dd Make sure we also create the about desc to Cura itself
CURA-12400
2025-02-19 13:55:29 +01:00
Erwan MATHIEU
b2ecf449c8 Change link to point to Qt multi-repos description
CURA-12400
2025-02-19 13:55:02 +01:00
Erwan MATHIEU
18a37b2cc3 Add option to skip licenses download
CURA-12400
This is useful for development, because it can take a few minutes
2025-02-17 15:57:10 +01:00
Erwan MATHIEU
eaeaa0d2b2 Gather and display details licenses for extra dependencies
CURA-12400
Some of the dependencies we use are not directly accessible via pip or conan, so add a field for manually registered dependencies
2025-02-17 15:34:38 +01:00
Erwan MATHIEU
a664c34803 Gather and display details of licences for conan packages
CURA-12400
2025-02-17 14:04:58 +01:00
Erwan MATHIEU
0a112c6c53 Gather and display details of licences for pip packages
CURA-12400
2025-02-17 08:51:36 +01:00
Erwan MATHIEU
eb5c5a1ad9 Merge remote-tracking branch 'origin/main' into CURA-12261-3dconnectionmouse 2025-02-06 12:57:24 +01:00
Erwan MATHIEU
0a936bec6a
Remove now-useless comment 2025-02-05 11:39:07 +01:00
c.lamboo
7a962216fb Merging CURA-7435_3DConnexionII 2025-01-24 13:20:41 +01:00
Erwan MATHIEU
ddb5aee056 Use private data from internal conan-user 2024-12-13 20:43:19 +01:00
Erwan MATHIEU
86e799e565 Use fdm_materials_private when appropriate 2024-12-13 20:21:17 +01:00
Remco Burema
cca70d83da Install: Fix MacOs; Previous Windows fixes caused Mac build to fail.
part of CURA-11622
2024-12-11 16:17:18 +01:00
Remco Burema
55f59b7971 Better rid of 'forbidden modules' and related folders.
part of CURA-11622
2024-12-10 17:30:27 +01:00
Erwan MATHIEU
10633d4ffa Remove now-useless script generation 2024-12-04 15:10:13 +01:00
Erwan MATHIEU
8d332f5bcc Revert CPython to 3.12.2
Unfortunately, 3.12.7 doesn't build on Windows yet
2024-12-02 10:31:27 +01:00
Erwan MATHIEU
f59e19f061 Update python version 2024-11-29 09:02:32 +01:00
Erwan MATHIEU
0d5d0fe846 Rename tmp Python file to a more explicit name 2024-11-28 14:33:16 +01:00
Erwan MATHIEU
8e25302753 Merge remote-tracking branch 'origin/main' into CURA-11622_conan_v2 2024-11-27 17:40:09 +01:00
Erwan MATHIEU
70f01f2a1b Merge remote-tracking branch 'refs/remotes/origin/CURA-11622_conan_v2' into CURA-11622_conan_v2 2024-11-27 14:43:05 +01:00
Erwan MATHIEU
af22593326 Remove version limit 2024-11-27 14:42:57 +01:00
Remco Burema
b7a5b2fd62 (win build) make it work locally again
part if CURA-11622
2024-11-27 12:40:45 +01:00
Erwan MATHIEU
0000ba334c Use gettext tools in path (experimental) 2024-11-27 11:17:13 +01:00
Remco Burema
9002e010cf Fix syntax of thrown errors.
done as part of CURA-11622
2024-11-26 15:06:48 +01:00
Erwan MATHIEU
b9a915024e Always build binary translations files at build time 2024-11-26 08:34:42 +01:00
Erwan MATHIEU
50b13cdd77 Cleanup code 2024-11-22 10:56:41 +01:00
Erwan MATHIEU
b8fd3d7ab0 Remove pyinstaller spec generation at generate() time 2024-11-21 11:15:31 +01:00