From b712030720fb7370dea6e540413a48778e451828 Mon Sep 17 00:00:00 2001
From: Janis Streib <me@janis-streib.de>
Date: Mon, 5 Dec 2022 13:26:06 +0100
Subject: [PATCH] FIX: drop 3.1 support

---
 setup.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index eaf2f63..ee6d277 100644
--- a/setup.py
+++ b/setup.py
@@ -6,11 +6,9 @@ import os
 
 class APIGenBuild(build_py):
     def run(self):
-        build_versions = ['3.0', '3.1', '3.2', '4.0']
+        build_versions = ['3.2', '4.0']
         default_version = '4.0'
         environ = os.environ.copy()
-        if not environ.get('NETDB_TOKEN', False):
-            build_versions.remove('3.0')
         for version in build_versions:
             target_dir = os.path.join(self.build_lib, 'netdb_client', f"api{version.replace('.', '')}")
             self.mkpath(target_dir)
-- 
GitLab