Skip to content

Commit

Permalink
changed virtualenv version installed by default (python.virtualenvVer…
Browse files Browse the repository at this point in the history
…sion) from 20.4.2 to 20.25.1,

changed default docker image (python.docker.image) from python:3.10.8-alpine3.15 to python:3.11.8-alpine3.19
use pip 24.0 on ci
  • Loading branch information
xvik committed Mar 21, 2024
1 parent 493b07d commit a2a7295
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ environment:
- job_name: Java 8, python 3.8
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
PYTHON: "C:\\Python38-x64"
PIP: 22.0.4
PIP: 24.0
- job_name: Java 11, python 3.10
JAVA_HOME: C:\Program Files\Java\jdk11
PYTHON: "C:\\Python38-x64"
PIP: 22.0.4
PIP: 24.0
- job_name: Java 17, python 3.11
JAVA_HOME: C:\Program Files\Java\jdk17
appveyor_build_worker_image: Visual Studio 2019
PYTHON: "C:\\Python311-x64"
PIP: 22.0.4
PIP: 24.0

install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python --version
- python -m pip install -U pip==%PIP%
- python -m pip --version
- python -m pip install -U virtualenv==20.4.2
- python -m pip install -U virtualenv==20.25.1

build_script:
- ./gradlew assemble --no-daemon
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
matrix:
java: [8, 11, 17]
python: ['3.8', '3.10', '3.11']
pip: ['22.0.4']
virtualenv: ['20.4.2']
pip: ['24.0']
virtualenv: ['20.25.1']

exclude:
- java: 8
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
(required for case when requirements file links other files, which changes are not tracked)
* Add requirements file references (-r file) support under strict mode (#94)
* Configuration cache compatibility (#89)
* Changed virtualenv version installed by default (python.virtualenvVersion) from 20.4.2 to 20.25.1
(supports python 3.7 and above)
* Changed default docker image (python.docker.image) from python:3.10.8-alpine3.15 to python:3.11.8-alpine3.19

### 3.0.0 (2022-10-22)
* (breaking) Drop gradle 5.0-5.2 support (minimum required gradle is 5.3)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/docs/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ python {
installVirtualenv = true
// if virtualenv not installed (in --user scope), plugin will install exactly this version
// (known to be working version) to avoid side effects
virtualenvVersion = '20.4.2'
virtualenvVersion = '20.25.1'
// minimal required virtualenv (v20 is recommended, but by default 16 set to not fail previous
// setups)
minVirtualenvVersion = '16'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class PythonExtension {
* it manually then you know what you are doing, otherwise "known to be working" version should be installed to
* avoid problems.
*/
String virtualenvVersion = '20.4.2'
String virtualenvVersion = '20.25.1'
/**
* Minimal required virtualenv version. It is recommended to use virtualenv 20 instead of 16 or older because
* it was a complete rewrite (and now it is stable enough). The most important moment is pip installation
Expand Down Expand Up @@ -409,7 +409,7 @@ class PythonExtension {
*
* @see <a href="https://hub.docker.com/_/python">python image</a>
*/
String image = 'python:3.10.8-alpine3.15'
String image = 'python:3.11.8-alpine3.19'

/**
* Required container port mappings - port to open from container to be accessible on host.
Expand Down

0 comments on commit a2a7295

Please sign in to comment.