Skip to content

python3Packages.spacy: replace typer-slim with typer#491832

Merged
dotlambda merged 2 commits intoNixOS:masterfrom
sarahec:spacy-typer
Feb 18, 2026
Merged

python3Packages.spacy: replace typer-slim with typer#491832
dotlambda merged 2 commits intoNixOS:masterfrom
sarahec:spacy-typer

Conversation

@sarahec
Copy link
Contributor

@sarahec sarahec commented Feb 18, 2026

  1. Replace typer-slim with typer
  2. Migrate to finalAttrs

Fixes #491816

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. labels Feb 18, 2026
@Stebalien
Copy link
Contributor

It looks like docling-core will need its typer dependency relaxed:

error: Cannot build '/nix/store/jkgrjsmzgy1lny1b4nb2rsbxk5m10vji-python3.13-docling-core-2.64.0.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/i7f5yq4wg4xgr948nfshhypgfxm4r455-python3.13-docling-core-2.64.0
         /nix/store/mgq0h5m6qjpx8fk3jq70r3qn602wy4yh-python3.13-docling-core-2.64.0-dist
       Last 25 log lines:
       > adding 'docling_core/utils/alias.py'
       > adding 'docling_core/utils/file.py'
       > adding 'docling_core/utils/generate_docs.py'
       > adding 'docling_core/utils/generate_jsonschema.py'
       > adding 'docling_core/utils/legacy.py'
       > adding 'docling_core/utils/validate.py'
       > adding 'docling_core/utils/validators.py'
       > adding 'docling_core-2.64.0.dist-info/licenses/LICENSE'
       > adding 'docling_core-2.64.0.dist-info/METADATA'
       > adding 'docling_core-2.64.0.dist-info/WHEEL'
       > adding 'docling_core-2.64.0.dist-info/entry_points.txt'
       > adding 'docling_core-2.64.0.dist-info/top_level.txt'
       > adding 'docling_core-2.64.0.dist-info/RECORD'
       > removing build/bdist.linux-x86_64/wheel
       > Successfully built docling_core-2.64.0-py3-none-any.whl
       > Finished creating a wheel...
       > /build/source/dist /build/source
       > Unpacking to: unpacked/docling_core-2.64.0...OK
       > Repacking wheel as ./docling_core-2.64.0-py3-none-any.whl...OK
       > /build/source
       > Finished executing pypaBuildPhase
       > Running phase: pythonRuntimeDepsCheckHook
       > Executing pythonRuntimeDepsCheck
       > Checking runtime dependencies for docling_core-2.64.0-py3-none-any.whl
       >   - typer<0.22.0,>=0.12.5 not satisfied by version 0.24.0
       For full logs, run:
         nix log /nix/store/jkgrjsmzgy1lny1b4nb2rsbxk5m10vji-python3.13-docling-core-2.64.0.drv

@sarahec
Copy link
Contributor Author

sarahec commented Feb 18, 2026

@Stebalien thank you. #491837

@sarahec
Copy link
Contributor Author

sarahec commented Feb 18, 2026

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 491832
Commit: 13ad7fc5d1d6465a5f33520fd657b2502c4524a5


x86_64-linux

❌ 2 packages failed to build:
  • python313Packages.llama-index-node-parser-docling
  • python313Packages.llama-index-node-parser-docling.dist
✅ 88 packages built:
  • aider-chat-full
  • aider-chat-full.dist
  • aider-chat-with-help
  • aider-chat-with-help.dist
  • alpaca
  • newelle
  • python313Packages.cltk
  • python313Packages.cltk.dist
  • python313Packages.fastai
  • python313Packages.fastai.dist
  • python313Packages.kokoro
  • python313Packages.kokoro.dist
  • python313Packages.llama-cloud-services
  • python313Packages.llama-cloud-services.dist
  • python313Packages.llama-index
  • python313Packages.llama-index-cli
  • python313Packages.llama-index-cli.dist
  • python313Packages.llama-index-core
  • python313Packages.llama-index-core.dist
  • python313Packages.llama-index-embeddings-gemini
  • python313Packages.llama-index-embeddings-gemini.dist
  • python313Packages.llama-index-embeddings-google
  • python313Packages.llama-index-embeddings-google.dist
  • python313Packages.llama-index-embeddings-huggingface
  • python313Packages.llama-index-embeddings-huggingface.dist
  • python313Packages.llama-index-embeddings-ollama
  • python313Packages.llama-index-embeddings-ollama.dist
  • python313Packages.llama-index-embeddings-openai
  • python313Packages.llama-index-embeddings-openai.dist
  • python313Packages.llama-index-graph-stores-neo4j
  • python313Packages.llama-index-graph-stores-neo4j.dist
  • python313Packages.llama-index-graph-stores-neptune
  • python313Packages.llama-index-graph-stores-neptune.dist
  • python313Packages.llama-index-indices-managed-llama-cloud
  • python313Packages.llama-index-indices-managed-llama-cloud.dist
  • python313Packages.llama-index-legacy
  • python313Packages.llama-index-legacy.dist
  • python313Packages.llama-index-llms-ollama
  • python313Packages.llama-index-llms-ollama.dist
  • python313Packages.llama-index-llms-openai
  • python313Packages.llama-index-llms-openai-like
  • python313Packages.llama-index-llms-openai-like.dist
  • python313Packages.llama-index-llms-openai.dist
  • python313Packages.llama-index-multi-modal-llms-openai
  • python313Packages.llama-index-multi-modal-llms-openai.dist
  • python313Packages.llama-index-readers-database
  • python313Packages.llama-index-readers-database.dist
  • python313Packages.llama-index-readers-file
  • python313Packages.llama-index-readers-file.dist
  • python313Packages.llama-index-readers-json
  • python313Packages.llama-index-readers-json.dist
  • python313Packages.llama-index-readers-llama-parse
  • python313Packages.llama-index-readers-llama-parse.dist
  • python313Packages.llama-index-readers-s3
  • python313Packages.llama-index-readers-s3.dist
  • python313Packages.llama-index-readers-twitter
  • python313Packages.llama-index-readers-twitter.dist
  • python313Packages.llama-index-readers-txtai
  • python313Packages.llama-index-readers-txtai.dist
  • python313Packages.llama-index-readers-weather
  • python313Packages.llama-index-readers-weather.dist
  • python313Packages.llama-index-vector-stores-chroma
  • python313Packages.llama-index-vector-stores-chroma.dist
  • python313Packages.llama-index-vector-stores-google
  • python313Packages.llama-index-vector-stores-google.dist
  • python313Packages.llama-index-vector-stores-milvus
  • python313Packages.llama-index-vector-stores-milvus.dist
  • python313Packages.llama-index-vector-stores-postgres
  • python313Packages.llama-index-vector-stores-postgres.dist
  • python313Packages.llama-index-vector-stores-qdrant
  • python313Packages.llama-index-vector-stores-qdrant.dist
  • python313Packages.llama-index.dist
  • python313Packages.llama-parse
  • python313Packages.llama-parse.dist
  • python313Packages.spacy
  • python313Packages.spacy-curated-transformers
  • python313Packages.spacy-curated-transformers.dist
  • python313Packages.spacy-lookups-data
  • python313Packages.spacy-lookups-data.dist
  • python313Packages.spacy-transformers
  • python313Packages.spacy-transformers.dist
  • python313Packages.spacy.dist
  • python313Packages.textacy
  • python313Packages.textacy.dist
  • python313Packages.textnets
  • python313Packages.textnets.dist
  • tts
  • tts.dist

@sarahec
Copy link
Contributor Author

sarahec commented Feb 18, 2026

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 491832
Commit: 13ad7fc5d1d6465a5f33520fd657b2502c4524a5


aarch64-darwin

❌ 2 packages failed to build:
  • python313Packages.llama-index-node-parser-docling
  • python313Packages.llama-index-node-parser-docling.dist
✅ 82 packages built:
  • aider-chat-full
  • aider-chat-full.dist
  • aider-chat-with-help
  • aider-chat-with-help.dist
  • python313Packages.cltk
  • python313Packages.cltk.dist
  • python313Packages.fastai
  • python313Packages.fastai.dist
  • python313Packages.llama-cloud-services
  • python313Packages.llama-cloud-services.dist
  • python313Packages.llama-index
  • python313Packages.llama-index-cli
  • python313Packages.llama-index-cli.dist
  • python313Packages.llama-index-core
  • python313Packages.llama-index-core.dist
  • python313Packages.llama-index-embeddings-gemini
  • python313Packages.llama-index-embeddings-gemini.dist
  • python313Packages.llama-index-embeddings-google
  • python313Packages.llama-index-embeddings-google.dist
  • python313Packages.llama-index-embeddings-huggingface
  • python313Packages.llama-index-embeddings-huggingface.dist
  • python313Packages.llama-index-embeddings-ollama
  • python313Packages.llama-index-embeddings-ollama.dist
  • python313Packages.llama-index-embeddings-openai
  • python313Packages.llama-index-embeddings-openai.dist
  • python313Packages.llama-index-graph-stores-neo4j
  • python313Packages.llama-index-graph-stores-neo4j.dist
  • python313Packages.llama-index-graph-stores-neptune
  • python313Packages.llama-index-graph-stores-neptune.dist
  • python313Packages.llama-index-indices-managed-llama-cloud
  • python313Packages.llama-index-indices-managed-llama-cloud.dist
  • python313Packages.llama-index-legacy
  • python313Packages.llama-index-legacy.dist
  • python313Packages.llama-index-llms-ollama
  • python313Packages.llama-index-llms-ollama.dist
  • python313Packages.llama-index-llms-openai
  • python313Packages.llama-index-llms-openai-like
  • python313Packages.llama-index-llms-openai-like.dist
  • python313Packages.llama-index-llms-openai.dist
  • python313Packages.llama-index-multi-modal-llms-openai
  • python313Packages.llama-index-multi-modal-llms-openai.dist
  • python313Packages.llama-index-readers-database
  • python313Packages.llama-index-readers-database.dist
  • python313Packages.llama-index-readers-file
  • python313Packages.llama-index-readers-file.dist
  • python313Packages.llama-index-readers-json
  • python313Packages.llama-index-readers-json.dist
  • python313Packages.llama-index-readers-llama-parse
  • python313Packages.llama-index-readers-llama-parse.dist
  • python313Packages.llama-index-readers-s3
  • python313Packages.llama-index-readers-s3.dist
  • python313Packages.llama-index-readers-twitter
  • python313Packages.llama-index-readers-twitter.dist
  • python313Packages.llama-index-readers-txtai
  • python313Packages.llama-index-readers-txtai.dist
  • python313Packages.llama-index-readers-weather
  • python313Packages.llama-index-readers-weather.dist
  • python313Packages.llama-index-vector-stores-chroma
  • python313Packages.llama-index-vector-stores-chroma.dist
  • python313Packages.llama-index-vector-stores-google
  • python313Packages.llama-index-vector-stores-google.dist
  • python313Packages.llama-index-vector-stores-milvus
  • python313Packages.llama-index-vector-stores-milvus.dist
  • python313Packages.llama-index-vector-stores-qdrant
  • python313Packages.llama-index-vector-stores-qdrant.dist
  • python313Packages.llama-index.dist
  • python313Packages.llama-parse
  • python313Packages.llama-parse.dist
  • python313Packages.spacy
  • python313Packages.spacy-curated-transformers
  • python313Packages.spacy-curated-transformers.dist
  • python313Packages.spacy-lookups-data
  • python313Packages.spacy-lookups-data.dist
  • python313Packages.spacy-transformers
  • python313Packages.spacy-transformers.dist
  • python313Packages.spacy.dist
  • python313Packages.textacy
  • python313Packages.textacy.dist
  • python313Packages.textnets
  • python313Packages.textnets.dist
  • tts
  • tts.dist

Comment on lines +61 to +62
substituteInPlace requirements.txt --replace-fail "typer-slim" "typer"
substituteInPlace setup.cfg --replace-fail "typer-slim" "typer"
Copy link
Member

@dotlambda dotlambda Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
substituteInPlace requirements.txt --replace-fail "typer-slim" "typer"
substituteInPlace setup.cfg --replace-fail "typer-slim" "typer"
# https://github.com/explosion/spaCy/pull/13922
substituteInPlace requirements.txt setup.cfg \
--replace-fail typer-slim typer

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Done.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Feb 18, 2026
@dotlambda dotlambda added this pull request to the merge queue Feb 18, 2026
Merged via the queue into NixOS:master with commit 95d582b Feb 18, 2026
29 of 33 checks passed
@sarahec sarahec deleted the spacy-typer branch February 19, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: python3Packages.spacy

3 participants