Skip to content
New issue

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

python: checkver is failing #5709

Closed
3 tasks done
cesarcoatl opened this issue Apr 12, 2024 · 1 comment
Closed
3 tasks done

python: checkver is failing #5709

cesarcoatl opened this issue Apr 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cesarcoatl
Copy link
Contributor

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

python

Expected/Current Behaviour

Failing checkver is not allowing Excavator to retrieve the latest version.

Steps to Reproduce

PS> .\bin\checkver.ps1 python
python: couldn't match 'Latest Python 3 Release - Python ([\d.]+)' in https://www.python.org/downloads/windows/

Possible Solution

Fix version checker or change checkver:

    "checkver": {
        "url": "https://www.python.org/ftp/python/",
        "regex": "href=\"(3\\.12\\.[\\d])/",
        "reverse": true
    },

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
fb7ee58e3 (HEAD -> master, origin/master, origin/HEAD) ghidra@11.0.3-20240410: Add GHIDRA_INSTALL_DIR environment variable (#13083)

'java' bucket:
ec2f60f4 (HEAD -> master, origin/master, origin/HEAD) intellij-jbr17: Update to version 17.0.10-b1207.14

'main' bucket:
57b532459 (HEAD -> master, origin/master, origin/HEAD) terragrunt: Update to version 0.57.0

'nerd-fonts' bucket:
6e9493d (HEAD -> master, origin/master, origin/HEAD) iA-Writer-NF: Update to version 3.2.1

'scoop-coatl-dev' bucket:
c7f33ab (HEAD -> coatl, origin/coatl, origin/HEAD) jython: update url (#44)

'versions' bucket:
ffdae9a04 (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.12.0-dev.3639

Scoop Config

PS> scoop config

cat_syle      : bat
private_hosts : {@{match=https://files.inductiveautomation.com/*; headers=Referer=https://inductiveautomation.com/}}
last_update   : 4/12/2024 15:37:11
scoop_branch  : master
scoop_repo    : https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

#5706

@cesarcoatl cesarcoatl added the bug Something isn't working label Apr 12, 2024
@tech189
Copy link
Member

tech189 commented Apr 15, 2024

It looks like checkver is getting a gzipped version of the page rather than the HTML. We should fix this rather than switching checkver to the FTP page because we will get stuck on version 3.12.x with that regex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants