Skip to content

Commit

Permalink
update python version to 3.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
beardypig committed Jan 4, 2021
1 parent cd1167f commit 00749df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Expand Up @@ -40,13 +40,13 @@ jobs:
- name: Build win32 package
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.6.5
STREAMLINK_PYTHON_VERSION: 3.7.9
STREAMLINK_PYTHON_ARCH: win32

- name: Build amd64 package
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.6.5
STREAMLINK_PYTHON_VERSION: 3.7.9
STREAMLINK_PYTHON_ARCH: amd64

- name: Create/update latest release
Expand All @@ -57,4 +57,4 @@ jobs:
prerelease: true
title: "Nightly Build"
files: |
dist/streamlink-portable*.zip
dist/streamlink-portable*.zip
7 changes: 6 additions & 1 deletion README.md
@@ -1,7 +1,7 @@
# Streamlink Portable
A script to build a portable version of Streamlink for Windows.

The portable zip files are build from the master branch of [streamlink/streamlink](https://github.com/streamlink/streamlink) and come bundled with Python 3.5.4. There is a 32 bit and a 64 bit version available for 32 bit Windows and 64 bit Windows (if in doubt use the 32 bit version).
The portable zip files are build from the master branch of [streamlink/streamlink](https://github.com/streamlink/streamlink) and comes bundled with Python 3.7.9. There is a 32 bit and a 64 bit version available for 32 bit Windows and 64 bit Windows (if in doubt use the 32 bit version).

The portable zip of the most recent stable streamlink version can be found in the [latest release](https://github.com/beardypig/streamlink-portable/releases/latest).

Expand All @@ -22,6 +22,11 @@ NB. `sed` must be `gnu-sed`

## Changelog

### 2021-01-03

* Update to Python 3.7.9.
* Update dependencies to match latest version of Streamlink.

### 2021-01-02

* Remove deprecated `--no-version-check` from the launcher script.
Expand Down
6 changes: 3 additions & 3 deletions scripts/makeportable.sh
Expand Up @@ -24,7 +24,7 @@ cache_dir="${ROOT_DIR}/build/cache"
mkdir -p "${bundle_dir}" "${dist_dir}" "${cache_dir}"

STREAMLINK_PYTHON_ARCH=${STREAMLINK_PYTHON_ARCH:-win32}
STREAMLINK_PYTHON_VERSION=${STREAMLINK_PYTHON_VERSION:-3.6.5}
STREAMLINK_PYTHON_VERSION=${STREAMLINK_PYTHON_VERSION:-3.7.9}
STREAMLINK_CHECKOUT_DIR="${ROOT_DIR}/streamlink"
STREAMLINK_ASSETS_REPO="${STREAMLINK_ASSETS_REPO:-streamlink/streamlink-assets}"
STREAMLINK_ASSETS_RELEASE="${STREAMLINK_ASSETS_RELEASE:-latest}"
Expand All @@ -42,8 +42,8 @@ wget -q "${python_url}" -c -O "${temp_dir}/python-${STREAMLINK_PYTHON_VERSION}-e
pushd "${STREAMLINK_CHECKOUT_DIR}" > /dev/null

log "Downloading Python dependencies..."
pip download --only-binary ":all:" --platform "${PYTHON_PLATFORM}" --python-version "36" --abi "cp36m" -d "${temp_dir}" "pycryptodome==3.4.3" > /dev/null
pip install --upgrade -t "${packages_dir}" "iso-639" "iso3166" "setuptools" "requests>=1.0,>=2.18.0,<3.0" "websocket-client" "PySocks!=1.5.7,>=1.5.6" "isodate" > /dev/null
pip download --only-binary ":all:" --platform "${PYTHON_PLATFORM}" --python-version "37" --abi "cp37m" -d "${temp_dir}" "pycryptodome>=3.4.3,<4" > /dev/null
pip install --upgrade -t "${packages_dir}" "iso-639" "iso3166" "setuptools" "requests>=2.21.0,<3.0" "websocket-client" "PySocks!=1.5.7,>=1.5.6" "isodate" > /dev/null

# create an sdist package to be "installed"
log "Building streamlink sdist"
Expand Down

0 comments on commit 00749df

Please sign in to comment.