Unverified Commit d88e2d58 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #308772 from r-ryantm/auto-update/python311Packages.oracledb

python311Packages.oracledb: 2.1.2 -> 2.2.0
parents 662ae2a0 a5dc01f1
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, cryptography
, cython
, fetchPypi
, pythonOlder
, setuptools
, wheel
{
  lib,
  buildPythonPackage,
  cryptography,
  cython,
  fetchPypi,
  pythonOlder,
  setuptools,
  wheel,
}:

buildPythonPackage rec {
  pname = "oracledb";
  version = "2.1.2";
  version = "2.2.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-MFS8wpXXN4g0unpazrhlmF6VSRX5sHqEPqhMOCTGoLI=";
    hash = "sha256-9Sx984sTJDtc5YNFe4B0ijRoK5u4Nw2iSXhotxl2eYs=";
  };

  build-system = [
@@ -26,22 +27,21 @@ buildPythonPackage rec {
    wheel
  ];

  dependencies = [
    cryptography
  ];
  dependencies = [ cryptography ];

  # Checks need an Oracle database
  doCheck = false;

  pythonImportsCheck = [
    "oracledb"
  ];
  pythonImportsCheck = [ "oracledb" ];

  meta = with lib; {
    description = "Python driver for Oracle Database";
    homepage = "https://oracle.github.io/python-oracledb";
    changelog = "https://github.com/oracle/python-oracledb/blob/v${version}/doc/src/release_notes.rst";
    license = with licenses; [ asl20 /* and or */ upl ];
    license = with licenses; [
      asl20 # and or
      upl
    ];
    maintainers = with maintainers; [ harvidsen ];
  };
}