diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c4001a9808cd0eda310cd4a0a2a5cf1e0baf453..9b5d6d1231027254766478220646c57534d2af73 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,5 @@
 default:
   image: $CI_REGISTRY_IMAGE/ci-build-runner:$CI_COMMIT_REF_SLUG
-  before_script:
-    - python --version # For debugging
   cache:
     paths:
       - .cache/pip
@@ -10,8 +8,6 @@ default:
 stages:
   - prepare
   - lint
-  # check if this needs to be a separate step
-  # - build_extensions
   - test
   - package
   - images
@@ -21,6 +17,7 @@ stages:
 # Caching of dependencies to speed up builds
 variables:
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
+  SECURE_LOG_LEVEL: debug
 
 include:
   - template: Security/SAST.gitlab-ci.yml
@@ -58,15 +55,9 @@ sast:
       pmd-apex, security-code-scan, sobelow, spotbugs
   stage: test
 
-dependency_scanning:
-  # override default before_script, job won't have Python available
-  before_script:
-    - uname
-
-secret_detection:
-  # override default before_script, job won't have Python available
-  before_script:
-    - uname
+gemnasium-python-dependency_scanning:
+    before_script:
+    - apt-get -qqy update && apt-get install -qqy libpq-dev
 
 # Basic setup for all Python versions for which we don't have a base image
 .run_unit_test_version_base:
diff --git a/setup.cfg b/setup.cfg
index 55ca2ea006b59dbf59b872d1a9159aeae73abea5..c10e6410406f11658dd1f4b8807f382c5350523b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,7 +14,6 @@ classifiers =
     Programming Language :: Python
     Programming Language :: Python :: 3
     Programming Language :: Python :: 3 :: Only
-    Programming Language :: Python :: 3.9
     Programming Language :: Python :: 3.10
     Programming Language :: Python :: 3.11
     Programming Language :: Python :: 3.12