You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ab...@apache.org on 2026/03/10 19:57:56 UTC

(cassandra-python-driver) branch trunk updated: ninja-fix Remove AppVeyor support

This is an automated email from the ASF dual-hosted git repository.

absurdfarce pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-python-driver.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 32e6f60d ninja-fix Remove AppVeyor support
32e6f60d is described below

commit 32e6f60d93bb0334290f4389e0ad4aba6bf513af
Author: absurdfarce <br...@ibm.com>
AuthorDate: Tue Mar 10 14:52:47 2026 -0500

    ninja-fix Remove AppVeyor support
---
 appveyor.yml          | 23 ---------------
 appveyor/appveyor.ps1 | 80 ---------------------------------------------------
 appveyor/run_test.ps1 | 49 -------------------------------
 3 files changed, 152 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 12c43d57..00000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-environment:
-  matrix:
-    - PYTHON: "C:\\Python38-x64"
-      cassandra_version: 3.11.2
-      ci_type: standard
-os: Visual Studio 2015
-platform:
-  - x64
-install:
-  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-  - ps: .\appveyor\appveyor.ps1
-build_script:
-  - cmd: |
-      "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
-      python setup.py install --no-cython
-test_script:
-  -  ps: .\appveyor\run_test.ps1
-cache:
-  - C:\Users\appveyor\.m2
-  - C:\ProgramData\chocolatey\bin
-  - C:\ProgramData\chocolatey\lib
-  - C:\Users\appveyor\jce_policy-1.7.0.zip
-  - C:\Users\appveyor\jce_policy-1.8.0.zip
\ No newline at end of file
diff --git a/appveyor/appveyor.ps1 b/appveyor/appveyor.ps1
deleted file mode 100644
index 5f6840e4..00000000
--- a/appveyor/appveyor.ps1
+++ /dev/null
@@ -1,80 +0,0 @@
-$env:JAVA_HOME="C:\Program Files\Java\jdk1.8.0"
-$env:PATH="$($env:JAVA_HOME)\bin;$($env:PATH)"
-$env:CCM_PATH="C:\Users\appveyor\ccm"
-$env:CASSANDRA_VERSION=$env:cassandra_version
-$env:EVENT_LOOP_MANAGER="asyncore"
-$env:SIMULACRON_JAR="C:\Users\appveyor\simulacron-standalone-0.7.0.jar"
-
-python --version
-python -c "import platform; print(platform.architecture())"
-# Install Ant
-Start-Process cinst -ArgumentList @("-y","ant") -Wait -NoNewWindow
-# Workaround for ccm, link ant.exe -> ant.bat
-If (!(Test-Path C:\ProgramData\chocolatey\bin\ant.bat)) {
-  cmd /c mklink C:\ProgramData\chocolatey\bin\ant.bat C:\ProgramData\chocolatey\bin\ant.exe
-}
-
-
-$jce_indicator = "$target\README.txt"
-# Install Java Cryptographic Extensions, needed for SSL.
-If (!(Test-Path $jce_indicator)) {
-  $zip = "C:\Users\appveyor\jce_policy-$($env:java_version).zip"
-  $target = "$($env:JAVA_HOME)\jre\lib\security"
-  # If this file doesn't exist we know JCE hasn't been installed.
-  $url = "https://www.dropbox.com/s/po4308hlwulpvep/UnlimitedJCEPolicyJDK7.zip?dl=1"
-  $extract_folder = "UnlimitedJCEPolicy"
-  If ($env:java_version -eq "1.8.0") {
-    $url = "https://www.dropbox.com/s/al1e6e92cjdv7m7/jce_policy-8.zip?dl=1"
-    $extract_folder = "UnlimitedJCEPolicyJDK8"
-  }
-  # Download zip to staging area if it doesn't exist, we do this because
-  # we extract it to the directory based on the platform and we want to cache
-  # this file so it can apply to all platforms.
-  if(!(Test-Path $zip)) {
-    (new-object System.Net.WebClient).DownloadFile($url, $zip)
-  }
-
-  Add-Type -AssemblyName System.IO.Compression.FileSystem
-  [System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $target)
-
-  $jcePolicyDir = "$target\$extract_folder"
-  Move-Item $jcePolicyDir\* $target\ -force
-  Remove-Item $jcePolicyDir
-}
-
-# Download simulacron
-$simulacron_url = "https://github.com/datastax/simulacron/releases/download/0.7.0/simulacron-standalone-0.7.0.jar"
-$simulacron_jar = $env:SIMULACRON_JAR
-if(!(Test-Path $simulacron_jar)) {
-    (new-object System.Net.WebClient).DownloadFile($simulacron_url, $simulacron_jar)
-}
-
-# Install Python Dependencies for CCM.
-Start-Process python -ArgumentList "-m pip install psutil pyYaml six numpy" -Wait -NoNewWindow
-
-# Clone ccm from git and use master.
-If (!(Test-Path $env:CCM_PATH)) {
-  Start-Process git -ArgumentList "clone -b cassandra-test https://github.com/pcmanus/ccm.git $($env:CCM_PATH)" -Wait -NoNewWindow
-}
-
-
-# Copy ccm -> ccm.py so windows knows to run it.
-If (!(Test-Path $env:CCM_PATH\ccm.py)) {
-  Copy-Item "$env:CCM_PATH\ccm" "$env:CCM_PATH\ccm.py"
-}
-
-$env:PYTHONPATH="$($env:CCM_PATH);$($env:PYTHONPATH)"
-$env:PATH="$($env:CCM_PATH);$($env:PATH)"
-
-# Predownload cassandra version for CCM if it isn't already downloaded.
-# This is necessary because otherwise ccm fails
-If (!(Test-Path C:\Users\appveyor\.ccm\repository\$env:cassandra_version)) {
-  Start-Process python -ArgumentList "$($env:CCM_PATH)\ccm.py create -v $($env:cassandra_version) -n 1 predownload" -Wait -NoNewWindow
-  echo "Checking status of download"
-  python $env:CCM_PATH\ccm.py status
-  Start-Process python -ArgumentList "$($env:CCM_PATH)\ccm.py remove predownload" -Wait -NoNewWindow
-  echo "Downloaded version $env:cassandra_version"
-}
-
-Start-Process python -ArgumentList "-m pip install -r test-requirements.txt" -Wait -NoNewWindow
-Start-Process python -ArgumentList "-m pip install nose-ignore-docstring" -Wait -NoNewWindow
diff --git a/appveyor/run_test.ps1 b/appveyor/run_test.ps1
deleted file mode 100644
index 9b8c23fd..00000000
--- a/appveyor/run_test.ps1
+++ /dev/null
@@ -1,49 +0,0 @@
-Set-ExecutionPolicy Unrestricted
-Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -force
-Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -force
-Get-ExecutionPolicy -List
-echo $env:Path
-echo "JAVA_HOME: $env:JAVA_HOME"
-echo "PYTHONPATH: $env:PYTHONPATH"
-echo "Cassandra version: $env:CASSANDRA_VERSION"
-echo "Simulacron jar: $env:SIMULACRON_JAR"
-echo $env:ci_type
-python --version
-python -c "import platform; print(platform.architecture())"
-
-$wc = New-Object 'System.Net.WebClient'
-
-if($env:ci_type -eq 'unit'){
-    echo "Running Unit tests"
-    pytest -s -v --junit-xml=unit_results.xml .\tests\unit
-
-    $env:EVENT_LOOP_MANAGER="gevent"
-    pytest -s -v --junit-xml=unit_results.xml .\tests\unit\io\test_geventreactor.py
-    $env:EVENT_LOOP_MANAGER="eventlet"
-    pytest -s -v --junit-xml=unit_results.xml .\tests\unit\io\test_eventletreactor.py
-    $env:EVENT_LOOP_MANAGER="asyncore"
-
-    echo "uploading unit results"
-    $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unit_results.xml))
-
-}
-
-if($env:ci_type -eq 'standard'){
-
-    echo "Running CQLEngine integration tests"
-    pytest -s -v --junit-xml=cqlengine_results.xml .\tests\integration\cqlengine
-    $cqlengine_tests_result = $lastexitcode
-    $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\cqlengine_results.xml))
-    echo "uploading CQLEngine test results"
-
-    echo "Running standard integration tests"
-    pytest -s -v --junit-xml=standard_results.xml .\tests\integration\standard
-    $integration_tests_result = $lastexitcode
-    $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\standard_results.xml))
-    echo "uploading standard integration test results"
-}
-
-
-$exit_result = $unit_tests_result + $cqlengine_tests_result + $integration_tests_result + $simulacron_tests_result
-echo "Exit result: $exit_result"
-exit $exit_result


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org