Skip to content

Jules - improvements to build/test etc.#4545

Merged
julian-smith-artifex-com merged 9 commits into
pymupdf:mainfrom
ArtifexSoftware:jules
Jun 5, 2025
Merged

Jules - improvements to build/test etc.#4545
julian-smith-artifex-com merged 9 commits into
pymupdf:mainfrom
ArtifexSoftware:jules

Conversation

@julian-smith-artifex-com
Copy link
Copy Markdown
Collaborator

No description provided.

* run(): also show <env_extra>.
* show_system(): new, shows platform info, sys.argv and os.environ.
* cpu_bits(): new, uses int.bit_length().
* number_sep(): removed because python already supports this with `,` operator.
* git_get(): new fn for cloning/updating shallow checkout.
* NewFiles: new class for detecting new/updated/modified files.
Things for github:
* -a: optionally reads command-line args from a specified environment variable.
  This will simplify use on Github, especially to work around the 10-parameter
  limit in workflows.
* -o: specifies what platforms to run on - if no match we do nothing.

Other:
* new command `cibw` build wheels with cibuildwheel.
* new command `wheel` builds wheel and installs.
….py on Github.

NB we use windows-2019, not windows-latest because the latter has faulty VS
with NAN problem.
Also use new pipcl.show_system().
Use Python's built-in `,` formatting flag instead.
@julian-smith-artifex-com julian-smith-artifex-com merged commit 8b8991b into pymupdf:main Jun 5, 2025
2 checks passed
@julian-smith-artifex-com julian-smith-artifex-com deleted the jules branch June 5, 2025 12:49
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants