We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: The caching feature wont work if one is pip installing from another python package repository.
Action version: actions/setup-python@v5
Platform:
Runner type:
Tools version: I think it applies across Python versions
Repro steps: The code is on our internal repo so I can share a link, here is the yaml
First we set up Python, and specify that we wish to cache.
- uses: actions/setup-python@v5 with: python-version: '3.9' cache: 'pip' cache-dependency-path: requirements*.txt
Next I install two sets of requirements
- name: Install dependencies f run: | echo "Python version is : ${{ matrix.python-version }}" pip --version pip install -r requirements_for_testing.txt pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/sepypi/pypi/simple/ pip --version pip list
requirements_for_testing.txt contains packages that we can get from pypi. Now here the caching works fine.
Next we need to install requirements that include our internal packages on our internal ADO package repo.
pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/sepypi/pypi/simple/
Here the caching never works.
Expected behaviour: I would expect it to cache.
Actual behaviour: Its not caching...
The text was updated successfully, but these errors were encountered:
Beschrijving: De cache functie werkt niet als pip wordt geïnstalleerd vanuit een andere Psychopathologie. Actievere: actions/setup-python@voor Platform: Ubuntu-versie macOS Vensters Type loper: [X ] Gehost Zelf gehost Huidige runner-versie: '2.321.0' Runner-afbeelding Afbeelding: ubuntu-22.04 Versie: 20241201.1.0 Tools-versie: Ik denk dat het van toepassing is op alle Python-versies Repro stappen: De code staat in onze interne repository, dus ik kan een link delen, hier is de yam Eerst stellen we Python in en geven aan dat we willen cachen. - uses: actions/setup-python@vele with: python-version: '3.9' cache: 'pip' cache-dependency-path: requirements*.txt Vervolgens installeer ik twee sets vereisten - name: Install dependencies f run: | echo "Python version is : ${{ matrix.python-version }}" pip --version pip install -r requirements_for_testing.txt pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/Seppe/Pipi/simple/ pip --version pip list requirements_for_testing.txt bevat pakketten die we van papier kunnen krijgen. Hier werkt de caching prima. Vervolgens moeten we de vereisten installeren die onze interne pakketten bevatten in onze interne Doktersassistente. pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/Seppe/ppi/simple/ Hier werkt de caching nooit. Verwacht gedrag: Ik verwacht dat het cachet. Actueel gedrag: Er wordt niet gecached...
Beschrijving: De cache functie werkt niet als pip wordt geïnstalleerd vanuit een andere Psychopathologie.
Actievere: actions/setup-python@voor
Type loper:
Tools-versie: Ik denk dat het van toepassing is op alle Python-versies
Repro stappen: De code staat in onze interne repository, dus ik kan een link delen, hier is de yam
Eerst stellen we Python in en geven aan dat we willen cachen.
- uses: actions/setup-python@vele with: python-version: '3.9' cache: 'pip' cache-dependency-path: requirements*.txt
Vervolgens installeer ik twee sets vereisten
- name: Install dependencies f run: | echo "Python version is : ${{ matrix.python-version }}" pip --version pip install -r requirements_for_testing.txt pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/Seppe/Pipi/simple/ pip --version pip list
requirements_for_testing.txt bevat pakketten die we van papier kunnen krijgen. Hier werkt de caching prima.
Vervolgens moeten we de vereisten installeren die onze interne pakketten bevatten in onze interne Doktersassistente.
pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/Seppe/ppi/simple/
Hier werkt de caching nooit.
Verwacht gedrag: Ik verwacht dat het cachet.
Actueel gedrag: Er wordt niet gecached...
Sorry, something went wrong.
Hello @screig, Thank you for creating this issue. We will investigate it and provide feedback as soon as we have some updates.
lmvysakh
No branches or pull requests
Description:
The caching feature wont work if one is pip installing from another python package repository.
Action version:
actions/setup-python@v5
Platform:
Runner type:
Current runner version: '2.321.0'
Runner Image
Image: ubuntu-22.04
Version: 20241201.1.0
Tools version:
I think it applies across Python versions
Repro steps:
The code is on our internal repo so I can share a link, here is the yaml
First we set up Python, and specify that we wish to cache.
Next I install two sets of requirements
requirements_for_testing.txt contains packages that we can get from pypi. Now here the caching works fine.
Next we need to install requirements that include our internal packages on our internal ADO package repo.
pip install -r requirements.txt --extra-index-url https://${ado_token}@OUR_INETERNAL_ADO_PACKAGE REPO/_packaging/sepypi/pypi/simple/
Here the caching never works.
Expected behaviour:
I would expect it to cache.
Actual behaviour:
Its not caching...
The text was updated successfully, but these errors were encountered: