Unable to deploy Python package because PIP cannot update

Christoforos Acadjiotis's Avatar

Christoforos Acadjiotis

29 Nov, 2023 05:10 PM

Hi there,
I am trying to deploy Windows, macOS python builds and the following error appears in the AppVeyor console:
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Command exited with code 1

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Nov, 2023 05:51 PM

    Feodor Fitsner's Avatar

    Could you drop a link to a build please?

  2. 2 Posted by Christopher Aca... on 29 Nov, 2023 10:27 PM

    Christopher Acadjiotis's Avatar

    Sorry I am kind of new at this. Is this what you need? https://ci.appveyor.com/project/nielxed/nlx-controlroom-access-2csc

    Thanks
    On 29 Nov 2023, at 7:51 PM, Feodor Fitsner <[email blocked]> wrote:

    // Please reply above this line 
    ================================================== 

    From: Feodor Fitsner (Support staff)

    Could you drop a link to a build please?

    On Wed, Nov 29 at 09:10 AM PST, Christoforos Acadjiotis wrote:

    Hi there, 
    I am trying to deploy Windows, macOS python builds and the following error appears in the AppVeyor console: 
    [notice] A new release of pip is available: 23.2.1 -> 23.3.1 
    [notice] To update, run: python.exe -m pip install --upgrade pip 
    Command exited with code 1

    Having trouble reading this? View this discussion online: Unable to deploy Python package because PIP cannot update.

    Reply with #ignore to stop receiving notifications for this discussion.


  3. Support Staff 3 Posted by Feodor Fitsner on 29 Nov, 2023 10:53 PM

    Feodor Fitsner's Avatar

    Yep, thanks. Looking into that.

  4. Support Staff 4 Posted by Feodor Fitsner on 29 Nov, 2023 10:57 PM

    Feodor Fitsner's Avatar

    So, the error says == should be used instead of = inside requirements.txt.
    Also, I don't think it makes sense to put pip requirement into requirements.txt at all.

    To upgrade pip during the build though add this as a first step of install phase:

    - pip install --upgrade pip virtualenv
    

    Hope that helps.

  5. Feodor Fitsner closed this discussion on 30 Jan, 2024 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

03 Oct, 2024 07:07 PM
01 Oct, 2024 05:06 PM
01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM