Merge pull request #166860 from fabaff/bump-potentials

python3Packages.potentials: 0.3.2 -> 0.3.3
main
Fabian Affolter 2 years ago committed by GitHub
commit 30bdb6a5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      pkgs/development/python-modules/atomman/default.nix
  2. 6
      pkgs/development/python-modules/potentials/default.nix
  3. 24
      pkgs/development/python-modules/pymatgen/default.nix
  4. 57
      pkgs/development/python-modules/yabadaba/default.nix
  5. 2
      pkgs/top-level/python-packages.nix

@ -1,4 +1,5 @@
{ lib
, ase
, buildPythonPackage
, cython
, datamodeldict
@ -7,17 +8,19 @@
, numericalunits
, numpy
, pandas
, phonopy
, potentials
, pymatgen
, pytest
, pythonOlder
, requests
, scipy
, toolz
, xmltodict
, python
}:
buildPythonPackage rec {
version = "1.4.3";
version = "1.4.4";
pname = "atomman";
format = "setuptools";
@ -27,7 +30,7 @@ buildPythonPackage rec {
owner = "usnistgov";
repo = "atomman";
rev = "v${version}";
sha256 = "sha256-is47O59Pjrh9tPC1Y2+DVVcHbxmcjUOFOVGnNHuURoM=";
hash = "sha256-iLAB0KMtrTCyGpx+81QfHDPVDhq8OA6CDL/ipVRpyo0=";
};
propagatedBuildInputs = [
@ -38,19 +41,24 @@ buildPythonPackage rec {
numpy
pandas
potentials
requests
scipy
toolz
xmltodict
];
checkInputs = [
ase
phonopy
pymatgen
pytest
];
checkPhase = ''
# pytestCheckHook doesn't work
py.test tests -k "not test_rootdir and not test_version \
and not test_atomic_mass and not imageflags"
pytest tests -k "not test_rootdir and not test_version \
and not test_atomic_mass and not imageflags" \
--ignore tests/plot/test_interpolate.py
'';
pythonImportsCheck = [

@ -16,10 +16,11 @@
, scipy
, unidecode
, xmltodict
, yabadaba
}:
buildPythonPackage rec {
version = "0.3.2";
version = "0.3.3";
pname = "potentials";
format = "setuptools";
@ -27,7 +28,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-u++ClAAc96u7k8w756sFR4oCtIOgERQ7foklxWWPprY=";
hash = "sha256-kj2RDls5ziCH+AF982h8TplZccwdcna3BQMoBXAbOHE=";
};
propagatedBuildInputs = [
@ -44,6 +45,7 @@ buildPythonPackage rec {
scipy
unidecode
xmltodict
yabadaba
];
# Project has no tests

@ -1,6 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub
{ lib
, buildPythonPackage
, fetchFromGitHub
, cython
, enum34
, glibcLocales
, matplotlib
, monty
@ -11,10 +12,10 @@
, plotly
, pybtex
, pydispatcher
, pythonOlder
, requests
, ruamel-yaml
, scipy
, six
, spglib
, sympy
, tabulate
@ -23,14 +24,16 @@
buildPythonPackage rec {
pname = "pymatgen";
version = "2022.2.7";
version = "2022.3.29";
format = "setuptools";
disabled = pythonOlder "3.8";
# sdist doesn't include c files
src = fetchFromGitHub {
owner = "materialsproject";
repo = "pymatgen";
rev= "v${version}";
sha256 = "sha256-92Dxmo1Z9LR2caSOftIf1I6jeZmqDe3SqhhoCofWraw=";
hash = "sha256-B2piRWx9TfKlGTPOAAGsq2GxyfHIRBVFpk6dxES0WF0=";
};
nativeBuildInputs = [
@ -39,7 +42,6 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
enum34
matplotlib
monty
networkx
@ -52,16 +54,18 @@ buildPythonPackage rec {
requests
ruamel-yaml
scipy
six
spglib
sympy
tabulate
uncertainties
];
# No tests in pypi tarball.
# Tests are not detected by pytest
doCheck = false;
pythonImportsCheck = [ "pymatgen" ];
pythonImportsCheck = [
"pymatgen"
];
meta = with lib; {
description = "A robust materials analysis code that defines core object representations for structures and molecules";

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, cdcs
, datamodeldict
, fetchFromGitHub
, ipython
, lxml
, numpy
, pandas
, pymongo
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "yabadaba";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "usnistgov";
repo = pname;
rev = "v${version}";
hash = "sha256-Svw15epiSMEGMuFuMLqX2C9YFGtRtdg7DW2OVLPRmNI=";
};
propagatedBuildInputs = [
cdcs
datamodeldict
ipython
lxml
numpy
pandas
pymongo
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"yabadaba"
];
preCheck = ''
export HOME=$(mktemp -d);
'';
meta = with lib; {
description = "Abstraction layer allowing for common interactions with databases and records";
homepage = "https://github.com/usnistgov/yabadaba";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

@ -10900,6 +10900,8 @@ in {
xxhash = callPackage ../development/python-modules/xxhash { };
yabadaba = callPackage ../development/python-modules/yabadaba { };
yahooweather = callPackage ../development/python-modules/yahooweather { };
yalesmartalarmclient = callPackage ../development/python-modules/yalesmartalarmclient { };

Loading…
Cancel
Save