Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.pandas: fix tests #109075

Merged
merged 1 commit into from Jan 12, 2021
Merged

Conversation

jonringer
Copy link
Contributor

@jonringer jonringer commented Jan 12, 2021

Motivation for this change

Tests now have relative imports to other test files,
so pytest needs to be executed in the
$out/${python.sitePackages}/pandas directory to make
these assumptions valid

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Tests now have relative imports to other test files,
so pytest needs to be executed in the
$out/${python.sitePackages}/pandas directory to make
these assumptions valid
@jonringer jonringer requested a review from FRidh as a code owner January 12, 2021 03:17
@jonringer
Copy link
Contributor Author

@GrahamcOfBorg build python3Packages.pandas

@jonringer
Copy link
Contributor Author

just a reminder that all of these are currently broken in master:

https://github.com/NixOS/nixpkgs/pull/109075

7 packages marked as broken and skipped:
mlflow-server python37Packages.mlflow python37Packages.rl-coach python37Packages.trackpy python38Packages.mlflow python38Packages.rl-coach python38Packages.trackpy

43 packages failed to build:
apache-airflow cq-editor python37Packages.aplpy python37Packages.arviz python37Packages.caffe python37Packages.dask-glm python37Packages.dask-ml python37Packages.dftfit python37Packages.graspologic python37Packages.imgaug python37Packages.intake python37Packages.mask-rcnn python37Packages.optuna python37Packages.pymatgen-lammps python37Packages.pymc3 python37Packages.qiskit python37Packages.qiskit-aer python37Packages.qiskit-aqua python37Packages.qiskit-ignis python37Packages.reproject python37Packages.spectral-cube python37Packages.sumo python37Packages.sunpy python38Packages.arviz python38Packages.caffe python38Packages.dask-glm python38Packages.dask-ml python38Packages.dftfit python38Packages.graspologic python38Packages.imgaug python38Packages.intake python38Packages.mask-rcnn python38Packages.optuna python38Packages.pymatgen-lammps python38Packages.pymc3 python38Packages.qiskit python38Packages.qiskit-aer python38Packages.qiskit-aqua python38Packages.qiskit-ignis python38Packages.spectral-cube python38Packages.sumo python38Packages.sunpy sageWithDoc

205 packages built:
csvs-to-sqlite python37Packages.Quandl python37Packages.acoustics python37Packages.altair python37Packages.apptools python37Packages.asdf python37Packages.atomman python37Packages.awkward0 python37Packages.batchgenerators python37Packages.bkcharts python37Packages.cirq python37Packages.clifford python37Packages.cnvkit python37Packages.colorcet python37Packages.csvs-to-sqlite python37Packages.cufflinks python37Packages.dask python37Packages.dask-gateway python37Packages.dask-image python37Packages.dask-jobqueue python37Packages.dask-mpi python37Packages.dask-xgboost python37Packages.datasets python37Packages.datashader python37Packages.distributed python37Packages.drms python37Packages.duckdb python37Packages.envisage python37Packages.fastparquet python37Packages.flammkuchen python37Packages.geopandas python37Packages.glymur python37Packages.google-cloud-automl python37Packages.google-cloud-bigquery python37Packages.heudiconv python37Packages.holoviews python37Packages.hvplot python37Packages.ibis-framework python37Packages.image-match python37Packages.imagecorruptions python37Packages.imbalanced-learn python37Packages.ipydatawidgets python37Packages.lammps-cython python37Packages.mayavi python37Packages.mesa python37Packages.mlxtend python37Packages.nbsmoke python37Packages.nilearn python37Packages.nipype python37Packages.osmnx python37Packages.osmpythontools python37Packages.pandas python37Packages.pandas-datareader python37Packages.partd python37Packages.phik python37Packages.pims python37Packages.ppscore python37Packages.pvlib python37Packages.pyarrow python37Packages.pybids python37Packages.pyfftw python37Packages.pygmt python37Packages.pymatgen python37Packages.pyregion python37Packages.pytest-astropy python37Packages.pytest-astropy-header python37Packages.pytrends python37Packages.pywick python37Packages.qiskit-ibmq-provider python37Packages.qiskit-terra python37Packages.radio_beam python37Packages.rpy2 python37Packages.runway-python python37Packages.scikit-bio python37Packages.scikitimage python37Packages.seaborn python37Packages.shap python37Packages.skorch python37Packages.slicer python37Packages.sparse python37Packages.spyder-kernels_0_5 python37Packages.spyder_3 python37Packages.statsmodels python37Packages.streamz python37Packages.stumpy python37Packages.stytra python37Packages.tablib python37Packages.tensorly python37Packages.test-tube python37Packages.tiledb python37Packages.traittypes python37Packages.transformers python37Packages.uproot3 python37Packages.uproot3-methods python37Packages.vega python37Packages.vega_datasets python37Packages.vidstab python37Packages.wrf-python python37Packages.xarray python37Packages.xgboost python37Packages.yfinance python38Packages.Quandl python38Packages.acoustics python38Packages.altair python38Packages.aplpy python38Packages.apptools python38Packages.asdf python38Packages.atomman python38Packages.awkward0 python38Packages.batchgenerators python38Packages.bkcharts python38Packages.cirq python38Packages.clifford python38Packages.cnvkit python38Packages.colorcet python38Packages.cufflinks python38Packages.dask python38Packages.dask-gateway python38Packages.dask-image python38Packages.dask-jobqueue python38Packages.dask-mpi python38Packages.dask-xgboost python38Packages.datasets python38Packages.datashader python38Packages.distributed python38Packages.drms python38Packages.duckdb python38Packages.envisage python38Packages.fastparquet python38Packages.flammkuchen python38Packages.geopandas python38Packages.glymur python38Packages.google-cloud-automl python38Packages.google-cloud-bigquery python38Packages.holoviews python38Packages.hvplot python38Packages.image-match python38Packages.imagecorruptions python38Packages.imbalanced-learn python38Packages.ipydatawidgets python38Packages.lammps-cython python38Packages.mayavi python38Packages.mesa python38Packages.mlxtend python38Packages.nbsmoke python38Packages.nilearn python38Packages.nipype python38Packages.osmnx python38Packages.osmpythontools python38Packages.pandas python38Packages.pandas-datareader python38Packages.partd python38Packages.phik python38Packages.pims python38Packages.ppscore python38Packages.pvlib python38Packages.pyarrow python38Packages.pybids python38Packages.pyfftw python38Packages.pygmt python38Packages.pymatgen python38Packages.pyregion python38Packages.pytest-astropy python38Packages.pytest-astropy-header python38Packages.pytrends python38Packages.pywick python38Packages.qiskit-ibmq-provider python38Packages.qiskit-terra python38Packages.radio_beam python38Packages.reproject python38Packages.rpy2 python38Packages.runway-python python38Packages.scikit-bio python38Packages.scikitimage python38Packages.seaborn python38Packages.shap python38Packages.skorch python38Packages.slicer python38Packages.sparse python38Packages.spyder-kernels_0_5 python38Packages.spyder_3 python38Packages.statsmodels python38Packages.streamz python38Packages.stumpy python38Packages.stytra python38Packages.tablib python38Packages.tensorly python38Packages.test-tube python38Packages.tiledb python38Packages.traittypes python38Packages.transformers python38Packages.uproot3 python38Packages.uproot3-methods python38Packages.vega python38Packages.vega_datasets python38Packages.vidstab python38Packages.wrf-python python38Packages.xarray python38Packages.xgboost python38Packages.yfinance sage streamlit tebreak truvari visidata

@jonringer jonringer merged commit 3fe3dcd into NixOS:master Jan 12, 2021
@jonringer jonringer deleted the fix-pandas branch January 12, 2021 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants