# Python

**URL:** https://travis-ci.community/c/languages/python/50.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [About the Python category](https://travis-ci.community/t/about-the-python-category/747)

<div class="topic-metadata">

**Author:** [@kris](https://travis-ci.community/u/kris)\
**Replies:** 1\
**Last updated:** [May 30, 2020, 1:02am UTC](https://travis-ci.community/t/about-the-python-category/747 "2020-05-30T01:02:56Z")

</div>

Any discussion about Python goes here!

---

## [Latest stable Python](https://travis-ci.community/t/latest-stable-python/14813)

<div class="topic-metadata">

**Author:** [@buhtz](https://travis-ci.community/u/buhtz)\
**Replies:** 0\
**Last updated:** [November 15, 2026, 9:18am UTC](https://travis-ci.community/t/latest-stable-python/14813 "2026-11-15T09:18:51Z")

</div>

I wonder why it take so long for TravisCI to support the latest Python version? Python 3.15 was released 2026-10-09, more than one month ago.

---

## [Extremely different execution times for identical tests](https://travis-ci.community/t/extremely-different-execution-times-for-identical-tests/14555)

<div class="topic-metadata">

**Author:** [@tyralla](https://travis-ci.community/u/tyralla)\
**Replies:** 5\
**Last updated:** [February 27, 2025, 4:15pm UTC](https://travis-ci.community/t/extremely-different-execution-times-for-identical-tests/14555 "2025-02-27T16:15:46Z")

</div>

I am executing two jobs which partly overlap in their covered test suites. The second job needs less than one hour, but the first one exceeds the maximum time limit of 1.5 hours. This has been happening for a few month…

---

## [Add Python 3.12](https://travis-ci.community/t/add-python-3-12/14006)

<div class="topic-metadata">

**Author:** [@hugovk](https://travis-ci.community/u/hugovk)\
**Replies:** 2\
**Last updated:** [June 30, 2024, 4:01pm UTC](https://travis-ci.community/t/add-python-3-12/14006 "2024-06-30T16:01:46Z")

</div>

Python 3.12 was released on Monday, 2023-10-02 :rocket: Python 3.12.0 (final) is here - Core Development - Discussions on Python.org Please could you add support for 3.12? PS It took: 28 days for 3.11 (Please add i…

---

## [How to run tests on Python 3.13?](https://travis-ci.community/t/how-to-run-tests-on-python-3-13/14090)

<div class="topic-metadata">

**Author:** [@Densaugeo](https://travis-ci.community/u/Densaugeo)\
**Replies:** 6\
**Last updated:** [June 19, 2024, 7:56am UTC](https://travis-ci.community/t/how-to-run-tests-on-python-3-13/14090 "2024-06-19T07:56:07Z")

</div>

I have a couple projects that I have been testing against Python 3.12 for a while, and I’m adding testing for Python 3.13 now that 3.12 is out and 3.13 is the next upcoming release. However, I haven’t been able to find a…

---

## [Add PyPy3.10 support (and update PyPy3.9)](https://travis-ci.community/t/add-pypy3-10-support-and-update-pypy3-9/14185)

<div class="topic-metadata">

**Author:** [@lschoe](https://travis-ci.community/u/lschoe)\
**Replies:** 1\
**Last updated:** [March 8, 2024, 8:28am UTC](https://travis-ci.community/t/add-pypy3-10-support-and-update-pypy3-9/14185 "2024-03-08T08:28:35Z")

</div>

Can you add support for PyPy3.10 and upgrade to the latest PyPy3.9 on Ubuntu 22.04 (Jammy Jellyfish)? More precisely, versions pypy3.10-v7.3.15 and pypy3.9-v7.3.15, which are stable, cf. PyPy v7.3.15 release. There are…

---

## [Are there reasons against deactivating the virtual environment?](https://travis-ci.community/t/are-there-reasons-against-deactivating-the-virtual-environment/14155)

<div class="topic-metadata">

**Author:** [@buhtz](https://travis-ci.community/u/buhtz)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 6:01pm UTC](https://travis-ci.community/t/are-there-reasons-against-deactivating-the-virtual-environment/14155 "2024-02-02T18:01:44Z")

</div>

The Travis machine is not a productive environment. So there is no high risk to destroy something. I think about if it might be OK to deactivate the virtual environment and run Python and my build-install-test stuff on …

---

## [Activate "system-site-packages" only for specific Python versions](https://travis-ci.community/t/activate-system-site-packages-only-for-specific-python-versions/14154)

<div class="topic-metadata">

**Author:** [@buhtz](https://travis-ci.community/u/buhtz)\
**Replies:** 0\
**Last updated:** [February 2, 2024, 8:08am UTC](https://travis-ci.community/t/activate-system-site-packages-only-for-specific-python-versions/14154 "2024-02-02T08:08:43Z")

</div>

I use a Ubuntu Focal build matrix with Python 3.8 to 3.12 and the architectures “amd64” and “ppc64le”. From the docs I do understand the the “system-site-packages” option is restricted to Python versions that are shippe…

---

## [\`jdk\` attribute in \`.travis.yml\` does not work with \`language: python\`](https://travis-ci.community/t/jdk-attribute-in-travis-yml-does-not-work-with-language-python/13998)

<div class="topic-metadata">

**Author:** [@sih4sing5hong5](https://travis-ci.community/u/sih4sing5hong5)\
**Replies:** 0\
**Last updated:** [September 25, 2023, 6:55am UTC](https://travis-ci.community/t/jdk-attribute-in-travis-yml-does-not-work-with-language-python/13998 "2023-09-25T06:55:42Z")

</div>

Our project is based on python. We need the Java 17 to run SonarCloud. The default Java version of Travis CI jobs is Java 11. Suggested by docs, adding the jdk: openjdk17 in our .travis.yml. But still got java 11 with l…

---

## [Python packages no longer installing on jammy with python 3.10](https://travis-ci.community/t/python-packages-no-longer-installing-on-jammy-with-python-3-10/13440)

<div class="topic-metadata">

**Author:** [@dannyhajj](https://travis-ci.community/u/dannyhajj)\
**Replies:** 1\
**Last updated:** [April 7, 2023, 12:44am UTC](https://travis-ci.community/t/python-packages-no-longer-installing-on-jammy-with-python-3-10/13440 "2023-04-07T00:44:09Z")

</div>

As of yesterday, some python packages are no longer installing successfully on Jammy. For example, when installing psycopg2. Some strange behaviour occurs with the preinstalled packages of pip and setuptools. Attemptin…

---

## [Add image for Python 3.8.16](https://travis-ci.community/t/add-image-for-python-3-8-16/13523)

<div class="topic-metadata">

**Author:** [@Kmschr](https://travis-ci.community/u/Kmschr)\
**Replies:** 0\
**Last updated:** [January 12, 2023, 7:30pm UTC](https://travis-ci.community/t/add-image-for-python-3-8-16/13523 "2023-01-12T19:30:50Z")

</div>

Hi there, Can you please add this Python version to the on-demand archives? Latest Security Release for Python 3.8: Python Release Python 3.8.16 | Python.org Release Date: Dec 6, 2022 Many Thanks, Kevin

---

## [SciPy disappeared from Python 3.10?](https://travis-ci.community/t/scipy-disappeared-from-python-3-10/13443)

<div class="topic-metadata">

**Author:** [@MikhailRyazanov](https://travis-ci.community/u/MikhailRyazanov)\
**Replies:** 0\
**Last updated:** [December 3, 2022, 5:42pm UTC](https://travis-ci.community/t/scipy-disappeared-from-python-3-10/13443 "2022-12-03T17:42:16Z")

</div>

Our test build with Python 3.10 (AMD64, Linux, jammy) is now failing, although it was working well two weeks ago, and all builds with any other Python versions still work. As far as I can tell, now it for some reason tri…

---

## [Python 3.7.3 disappear on ARM64?](https://travis-ci.community/t/python-3-7-3-disappear-on-arm64/13437)

<div class="topic-metadata">

**Author:** [@djhedges](https://travis-ci.community/u/djhedges)\
**Replies:** 3\
**Last updated:** [December 3, 2022, 5:26pm UTC](https://travis-ci.community/t/python-3-7-3-disappear-on-arm64/13437 "2022-12-03T17:26:54Z")

</div>

Prior cron jobs were building just fine until 8 days ago. The URL it’s trying to fetch seems to no longer exist. https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/20.04/aarch64/python-3…

---

## ["Failed to deploy" on jammy](https://travis-ci.community/t/failed-to-deploy-on-jammy/13419)

<div class="topic-metadata">

**Author:** [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Replies:** 0\
**Last updated:** [November 19, 2022, 12:11pm UTC](https://travis-ci.community/t/failed-to-deploy-on-jammy/13419 "2022-11-19T12:11:15Z")

</div>

Hi there! I want to deploy an python package to PYPI but it doesn’t work since I updated from focal to jammy Linux. Installing deploy dependencies Successfully installed public\_suffix-3.0.3 Successfully installed mul…

---

## [Add Python 3.10](https://travis-ci.community/t/add-python-3-10/12220)

<div class="topic-metadata">

**Author:** [@hugovk](https://travis-ci.community/u/hugovk)\
**Replies:** 19\
**Last updated:** [November 18, 2022, 9:41pm UTC](https://travis-ci.community/t/add-python-3-10/12220 "2022-11-18T21:41:49Z")

</div>

Python 3.10.0 final was released yesterday, 2021-10-04: Python 3.10.0 is now available - Committers - Discussions on Python.org Please could you also add support for Python 3.10? Thank you! PS It took 20 days for 3.…

---

## [Please add image for Python 3.11](https://travis-ci.community/t/please-add-image-for-python-3-11/13384)

<div class="topic-metadata">

**Author:** [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 9:39pm UTC](https://travis-ci.community/t/please-add-image-for-python-3-11/13384 "2022-11-18T21:39:30Z")

</div>

Hi there! Since yesterday, Python 3.11 is out. Can you please make it available in the Travis CI? Thank you in advance!

---

## [Deployment to PyPI: is there a way to only upload artifacts from previous step?](https://travis-ci.community/t/deployment-to-pypi-is-there-a-way-to-only-upload-artifacts-from-previous-step/13391)

<div class="topic-metadata">

**Author:** [@jorisvandenbossche](https://travis-ci.community/u/jorisvandenbossche)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 10:33am UTC](https://travis-ci.community/t/deployment-to-pypi-is-there-a-way-to-only-upload-artifacts-from-previous-step/13391 "2022-10-29T10:33:10Z")

</div>

I am making use of the automatic deployment to PyPI: PyPI deployment - Travis CI. However, I already built all the wheel artifacts that I want to upload in a previous step (using cibuildwheel), and would like to only upl…

---

## [ERROR: No matching distribution found for ipython package](https://travis-ci.community/t/error-no-matching-distribution-found-for-ipython-package/12375)

<div class="topic-metadata">

**Author:** [@ChillarAnand](https://travis-ci.community/u/ChillarAnand)\
**Replies:** 3\
**Last updated:** [October 9, 2022, 11:56am UTC](https://travis-ci.community/t/error-no-matching-distribution-found-for-ipython-package/12375 "2022-10-09T11:56:19Z")

</div>

When installing frappe on travis CI, it is failing with this error. Installing frappe $ frappe-bench/env/bin/python -m pip install -q -U -e frappe-bench/apps/frappe ERROR: Could not find a version that satisfies the re…

---

## ["arch" depended configuration for the sections "python", "before\_install" and "virtualenv"](https://travis-ci.community/t/arch-depended-configuration-for-the-sections-python-before-install-and-virtualenv/13315)

<div class="topic-metadata">

**Author:** [@buhtz](https://travis-ci.community/u/buhtz)\
**Replies:** 0\
**Last updated:** [September 21, 2022, 7:49am UTC](https://travis-ci.community/t/arch-depended-configuration-for-the-sections-python-before-install-and-virtualenv/13315 "2022-09-21T07:49:13Z")

</div>

I couldn’t find an example for that in the docs. Sorry. I want to do something like this where the Python 3.8 interpreter is selected only for the ppc64le architecture and with system-site-packages activated. language:…

---

## [Can not import PyQt5 but python3-pyqt5 is installed](https://travis-ci.community/t/can-not-import-pyqt5-but-python3-pyqt5-is-installed/13290)

<div class="topic-metadata">

**Author:** [@buhtz](https://travis-ci.community/u/buhtz)\
**Replies:** 0\
**Last updated:** [September 18, 2022, 8:57am UTC](https://travis-ci.community/t/can-not-import-pyqt5-but-python3-pyqt5-is-installed/13290 "2022-09-18T08:57:46Z")

</div>

X-Post: https://sqa.stackexchange.com/q/50530/54112 I assume my problem depends on the fact that I don’t totally understand how TravisCI work. The Python unittests on Travis raising an ImportError because of import PyQ…

---

## [Use Travis CI to do unit test everytime a code is pushed](https://travis-ci.community/t/use-travis-ci-to-do-unit-test-everytime-a-code-is-pushed/13029)

<div class="topic-metadata">

**Author:** [@rajdevworks](https://travis-ci.community/u/rajdevworks)\
**Replies:** 2\
**Last updated:** [June 12, 2022, 4:14am UTC](https://travis-ci.community/t/use-travis-ci-to-do-unit-test-everytime-a-code-is-pushed/13029 "2022-06-12T04:14:48Z")

</div>

Hello, I’m new to this community, so please be kind if I make any mistake. I’m working on a python project which takes a file as an argument. Now that the project is growing larger, Automating unit testing would help r…

---

## [Update Python \`3.11-dev\`](https://travis-ci.community/t/update-python-3-11-dev/13039)

<div class="topic-metadata">

**Author:** [@hugovk](https://travis-ci.community/u/hugovk)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 9:07am UTC](https://travis-ci.community/t/update-python-3-11-dev/13039 "2022-06-06T09:07:55Z")

</div>

Python 3.11-dev on the focal image is still using 3.11.0a3+. Python 3.11 is now up to 3.11.0b3. Python 3.11.0a3 was released Dec. 8, 2021 Python 3.11.0b3 was released June 1, 2022 There’s been many changes in 6 month…

---

## [Python nightly not updating since February 11](https://travis-ci.community/t/python-nightly-not-updating-since-february-11/11418)

<div class="topic-metadata">

**Author:** [@freundTech](https://travis-ci.community/u/freundTech)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 12:31pm UTC](https://travis-ci.community/t/python-nightly-not-updating-since-february-11/11418 "2022-06-02T12:31:14Z")

</div>

I’m currently working on a project making use of a python feature introduced in cpython 3.10.0a6 (Released March 1. 2021), however the Travis CI python nightly version is still on 3.10.0a5+. Looking at Travis CI - Test …

---

## [Build error for Python 3.7 on two different projects](https://travis-ci.community/t/build-error-for-python-3-7-on-two-different-projects/12895)

<div class="topic-metadata">

**Author:** [@ytongdou](https://travis-ci.community/u/ytongdou)\
**Replies:** 3\
**Last updated:** [April 20, 2022, 9:45pm UTC](https://travis-ci.community/t/build-error-for-python-3-7-on-two-different-projects/12895 "2022-04-20T21:45:00Z")

</div>

Hi folks, I updated the readme of two of my python projects on Github and the triggered buildings from Travis CI were both failed under Python 3.7. Other buildings under Python 3.X were passed. Here is a snippet of the …

---

## [Build errors installing a common dependency (docopt) on python 3.7 but not other versions](https://travis-ci.community/t/build-errors-installing-a-common-dependency-docopt-on-python-3-7-but-not-other-versions/12886)

<div class="topic-metadata">

**Author:** [@bkuczenski](https://travis-ci.community/u/bkuczenski)\
**Replies:** 4\
**Last updated:** [April 20, 2022, 8:44am UTC](https://travis-ci.community/t/build-errors-installing-a-common-dependency-docopt-on-python-3-7-but-not-other-versions/12886 "2022-04-20T08:44:53Z")

</div>

Hi folks, I am using coveralls.io track my test coverage and my build configuration includes the line: $ pip install coverage coveralls This worked normally in the past because it is an unremarkable requirement. Here …

---

## [Not getting python logger output in Travis logs](https://travis-ci.community/t/not-getting-python-logger-output-in-travis-logs/12745)

<div class="topic-metadata">

**Author:** [@rpgoldman](https://travis-ci.community/u/rpgoldman)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 4:47pm UTC](https://travis-ci.community/t/not-getting-python-logger-output-in-travis-logs/12745 "2022-03-03T16:47:00Z")

</div>

I am running the Travis script here: pyDcop/.travis.yml at master · rpgoldman/pyDcop · GitHub I am trying to debug a problem which is that the tests all pass in Travis, but not locally (I know! The reverse of the usual …

---

## [Pip on focal is linked to python 2.7 instead of python 3.6](https://travis-ci.community/t/pip-on-focal-is-linked-to-python-2-7-instead-of-python-3-6/12421)

<div class="topic-metadata">

**Author:** [@lorengordon](https://travis-ci.community/u/lorengordon)\
**Replies:** 2\
**Last updated:** [December 7, 2021, 12:34am UTC](https://travis-ci.community/t/pip-on-focal-is-linked-to-python-2-7-instead-of-python-3-6/12421 "2021-12-07T00:34:12Z")

</div>

Recently our builds started failing when installing software using pip. Investigating a little, and finding that, on focal, pip is now linked to Python 2.7 instead of Python 3.6. However, the docs for the focal environme…

---

## [Pip install cryptography fails on py36](https://travis-ci.community/t/pip-install-cryptography-fails-on-py36/11233)

<div class="topic-metadata">

**Author:** [@pletnes](https://travis-ci.community/u/pletnes)\
**Replies:** 6\
**Last updated:** [September 10, 2021, 9:47am UTC](https://travis-ci.community/t/pip-install-cryptography-fails-on-py36/11233 "2021-09-10T09:47:24Z")

</div>

Dear builders, I’m trying to pip install cryptography, essentially, and it works just great on py37 and py38. For py36 I get an error that I’m missing a Rust compiler. It seems py36 tries to build from source whereas on…

---

## [Using multiple encrypted variables in a Python script](https://travis-ci.community/t/using-multiple-encrypted-variables-in-a-python-script/12024)

<div class="topic-metadata">

**Author:** [@jrandj](https://travis-ci.community/u/jrandj)\
**Replies:** 2\
**Last updated:** [August 30, 2021, 9:47am UTC](https://travis-ci.community/t/using-multiple-encrypted-variables-in-a-python-script/12024 "2021-08-30T09:47:42Z")

</div>

Hi there, This feels like a very simple question but I haven’t been able to confirm the answer. I’m trying to run a Python script with some encrypted arguments but I’m not sure if I’m passing them in correctly. The buil…

---

## [Flask do\_request\_teardown issue](https://travis-ci.community/t/flask-do-request-teardown-issue/11618)

<div class="topic-metadata">

**Author:** [@Zlopez](https://travis-ci.community/u/Zlopez)\
**Replies:** 5\
**Last updated:** [May 20, 2021, 8:28am UTC](https://travis-ci.community/t/flask-do-request-teardown-issue/11618 "2021-05-20T08:28:00Z")

</div>

Hi, I recently started to experience issue during tests of my flask application. I even tried to restart some old job to confirm that the issue is not caused by the PR that is being tested. The tox tests are working fin…

[Next page](https://travis-ci.community/c/languages/python/50.md?page=1)
