CI and pip install fail on Windows with Python 3.14: lxml 6.2.1 has no cp314 Windows wheel
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 75/100
Direção de pesquisa
Comece por setup.py e pela instalação de dependências do Windows Python 3.14 no workflow Build; compare como o lxml é restringido entre plataformas e versões do Python. Reproduza com pip install lxml==6.2.1 no Windows com Python 3.14. O trabalho estará concluído quando esse job instalar as dependências e executar os testes, enquanto as outras plataformas mantêm a versão atual do lxml.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Found: 2026-11-30, while reviewing https://github.com/QuantConnect/lean-cli/pull/791
What happens
The test (windows-latest, 3.14) job of the Build workflow fails in "Install dependencies", before any test runs. GitHub then cancels every other test job of the matrix, so no pull request currently gets test results.
setup.py requires lxml>=4.9.0. pip now resolves it to lxml 6.2.1 (released 2026-11-29), which publishes Windows wheels for CPython 3.8 to 3.13 but none for CPython 3.14 (cp314-win_amd64). pip falls back to the source archive lxml-6.2.1.tar.gz, and building it fails:
fatal error C1083: Cannot open include file: 'libxml/xmlversion.h': No such file or directory
ERROR: Failed building wheel for lxml
The last master Build (Nov 27) installed lxml-6.2.0-cp314-cp314-win_amd64.whl and passed. Installing lean with pip on Windows with Python 3.14 fails the same way.
Reproduce
On Windows with Python 3.14, without a C toolchain set up for libxml2: pip install lxml==6.2.1 (or pip install lean).
What a fix must achieve
The Windows Python 3.14 job installs its dependencies and runs the tests again, without changing the lxml version the other platforms get. A suggestion: exclude lxml 6.2.1 on Windows with Python 3.14 in setup.py until upstream publishes that wheel, or wait for the wheel if it comes soon.
- Linguagem predominante
- Python
- Estrelas
- 335
- Forks
- 172
- Merge médio
- 6h 54min
- PRs com merge (30d)
- 37
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de QuantConnect/lean-cli
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
QuantConnect/lean-cli#786 ·
Mantenedores costumam responder em até 1 dia
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
QuantConnect/lean-cli#785 ·
Mantenedores costumam responder em até 1 dia
-
A partially written live command result aborts polling with JSONDecodeErrorTalvez já em andamento @pcbeingused333 assumiu há 3 dias. Abertapriority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
QuantConnect/lean-cli#784 ·
Mantenedores costumam responder em até 1 dia
-
Container lookup failures during result polling are masked by UnboundLocalErrorTalvez já em andamento @pcbeingused333 assumiu há 5 dias. Abertapriority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
QuantConnect/lean-cli#783 ·
Mantenedores costumam responder em até 1 dia
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
QuantConnect/lean-cli#778 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de QuantConnect/lean-cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
pimutils/vdirsyncer#1242 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
open-webui/open-webui#35360 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia