Skip to content

scspell v2.3 not buildable with python314 #52

@Guelakais

Description

@Guelakais

Hello. I'm an nixpkgs maintainer and have tried to build scspell with the tag v2.3 with python314. This was the result:

warning: Git tree '/home/ulysses/projects/nix/nixpkgs' is dirty
this derivation will be built:
  /nix/store/q2p4jq595rnximcvardv9r2i7swgfkyy-python3.14-scspell-2.3.drv
building '/nix/store/q2p4jq595rnximcvardv9r2i7swgfkyy-python3.14-scspell-2.3.drv'...
error: Cannot build '/nix/store/q2p4jq595rnximcvardv9r2i7swgfkyy-python3.14-scspell-2.3.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/dp6jx0xy8w7vh2psiilgbfyxlma83srq-python3.14-scspell-2.3-dist
         /nix/store/l6vzp94bl9fjl0pwjivvji3rkw8l1lp9-python3.14-scspell-2.3
       Last 25 log lines:
       >   File "/nix/store/8w7da5w1124z41bnpidhzfzmgz8xr3cd-python3.14-pyproject-hooks-1.2.0/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
       >     main()
       >     ~~~~^^
       >   File "/nix/store/8w7da5w1124z41bnpidhzfzmgz8xr3cd-python3.14-pyproject-hooks-1.2.0/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
       >     json_out["return_val"] = hook(**hook_input["kwargs"])
       >                              ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/8w7da5w1124z41bnpidhzfzmgz8xr3cd-python3.14-pyproject-hooks-1.2.0/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
       >     return hook(config_settings)
       >   File "/nix/store/1fmrx8kbk3agnyzwy4qq0alc3wpm501p-python3.14-setuptools-80.7.1/lib/python3.14/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
       >     return self._get_build_requires(config_settings, requirements=[])
       >            ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/1fmrx8kbk3agnyzwy4qq0alc3wpm501p-python3.14-setuptools-80.7.1/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
       >     self.run_setup()
       >     ~~~~~~~~~~~~~~^^
       >   File "/nix/store/1fmrx8kbk3agnyzwy4qq0alc3wpm501p-python3.14-setuptools-80.7.1/lib/python3.14/site-packages/setuptools/build_meta.py", line 512, in run_setup
       >     super().run_setup(setup_script=setup_script)
       >     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/1fmrx8kbk3agnyzwy4qq0alc3wpm501p-python3.14-setuptools-80.7.1/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
       >     exec(code, locals())
       >     ~~~~^^^^^^^^^^^^^^^^
       >   File "<string>", line 22, in <module>
       >   File "<string>", line 13, in get_version
       > AttributeError: 'Constant' object has no attribute 's'
       >
       > ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
       For full logs, run:
         nix log /nix/store/q2p4jq595rnximcvardv9r2i7swgfkyy-python3.14-scspell-2.3.drv

Since colcon-based packages in particular unfortunately depend on scspell, I would ask that this issue be addressed. With the latest tag – v2.3 – scspell can only be used up to python313.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions