python3Packages.mysql-connector-python: rename from mysql-connector (#534028)
This commit is contained in:
@@ -28,7 +28,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
duckdb
|
||||
keyring
|
||||
mariadb
|
||||
mysql-connector
|
||||
mysql-connector-python
|
||||
oracledb
|
||||
paramiko
|
||||
psycopg2
|
||||
|
||||
@@ -26,7 +26,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
click
|
||||
mysql-connector
|
||||
mysql-connector-python
|
||||
pytimeparse2
|
||||
pymysql
|
||||
pymysqlsa
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
inline-snapshot,
|
||||
logfire-api,
|
||||
loguru,
|
||||
mysql-connector,
|
||||
mysql-connector-python,
|
||||
openai-agents,
|
||||
pandas,
|
||||
psycopg,
|
||||
@@ -138,7 +138,7 @@ buildPythonPackage (finalAttrs: {
|
||||
inline-snapshot
|
||||
logfire-api
|
||||
loguru
|
||||
mysql-connector
|
||||
mysql-connector-python
|
||||
openai-agents
|
||||
pandas
|
||||
psycopg
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mysql-connector";
|
||||
pname = "mysql-connector-python";
|
||||
version = "9.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
python,
|
||||
sqlite,
|
||||
withMysql ? false,
|
||||
mysql-connector,
|
||||
mysql-connector-python,
|
||||
withPostgres ? false,
|
||||
psycopg2,
|
||||
setuptools,
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
apsw
|
||||
]
|
||||
++ lib.optionals withPostgres [ psycopg2 ]
|
||||
++ lib.optionals withMysql [ mysql-connector ];
|
||||
++ lib.optionals withMysql [ mysql-connector-python ];
|
||||
|
||||
nativeCheckInputs = [ flask ];
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
cx-oracle,
|
||||
mariadb,
|
||||
mypy,
|
||||
mysql-connector,
|
||||
mysql-connector-python,
|
||||
mysqlclient,
|
||||
pg8000,
|
||||
psycopg2,
|
||||
@@ -63,7 +63,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
mssql_pyodbc = [ pyodbc ];
|
||||
mysql = [ mysqlclient ];
|
||||
mysql_connector = [ mysql-connector ];
|
||||
mysql_connector = [ mysql-connector-python ];
|
||||
mariadb_connector = [ mariadb ];
|
||||
oracle = [ cx-oracle ];
|
||||
postgresql = [ psycopg2 ];
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
cx-oracle,
|
||||
mariadb,
|
||||
mypy,
|
||||
mysql-connector,
|
||||
mysql-connector-python,
|
||||
mysqlclient,
|
||||
oracledb,
|
||||
pg8000,
|
||||
@@ -74,7 +74,7 @@ buildPythonPackage (finalAttrs: {
|
||||
mssql_pymysql = [ pymssql ];
|
||||
mssql_pyodbc = [ pyodbc ];
|
||||
mysql = [ mysqlclient ];
|
||||
mysql_connector = [ mysql-connector ];
|
||||
mysql_connector = [ mysql-connector-python ];
|
||||
mariadb_connector = [ mariadb ];
|
||||
oracle = [ cx-oracle ];
|
||||
oracle_oracledb = [ oracledb ];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
dbutils,
|
||||
mysqlclient,
|
||||
pymysql,
|
||||
mysql-connector,
|
||||
mysql-connector-python,
|
||||
psycopg2,
|
||||
}:
|
||||
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
dbutils
|
||||
mysqlclient
|
||||
pymysql
|
||||
mysql-connector
|
||||
mysql-connector-python
|
||||
psycopg2
|
||||
];
|
||||
|
||||
|
||||
@@ -371,6 +371,7 @@ mapAliases {
|
||||
mullvad-closest = throw "'mullvad-closest' has been removed as it was unmaintained. Consider using 'mullvad-compass' instead."; # Added 2026-01-13
|
||||
multi_key_dict = throw "'multi_key_dict' has been renamed to/replaced by 'multi-key-dict'"; # Converted to throw 2025-10-29
|
||||
mutag = throw "mutag has been removed because it is unmaintained since 2018"; # added 2025-05-25
|
||||
mysql-connector = mysql-connector-python; # added 2026-06-21
|
||||
net2grid = throw "'net2grid' has been renamed to/replaced by 'gridnet'"; # Converted to throw 2025-10-29
|
||||
ninja-python = throw "'ninja-python' has been renamed to/replaced by 'ninja'"; # Converted to throw 2025-10-29
|
||||
nitpick = throw "'nitpick' has been removed because it was unmaintained upstream since 2017 and using python2"; # added 2025-08-25
|
||||
|
||||
@@ -11010,7 +11010,7 @@ self: super: with self; {
|
||||
|
||||
mypyllant = callPackage ../development/python-modules/mypyllant { };
|
||||
|
||||
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
|
||||
mysql-connector-python = callPackage ../development/python-modules/mysql-connector-python { };
|
||||
|
||||
mysqlclient = callPackage ../development/python-modules/mysqlclient { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user