From df1820457fd6d390650aed49c811b999e853a2d2 Mon Sep 17 00:00:00 2001 From: HebiKotei Date: Wed, 28 Sep 2022 13:51:12 +0000 Subject: [PATCH 1/3] minimal environment --- minimal-requirements.txt | 18 ++++++++++++++++++ minimal_environment.yml | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 minimal-requirements.txt create mode 100644 minimal_environment.yml diff --git a/minimal-requirements.txt b/minimal-requirements.txt new file mode 100644 index 0000000000000..328fde05fd858 --- /dev/null +++ b/minimal-requirements.txt @@ -0,0 +1,18 @@ +attrs==22.1.0 +Cython==0.29.32 +iniconfig==1.1.1 +numpy==1.23.3 +packaging==21.3 +pip==22.2.2 +pluggy==1.0.0 +py==1.11.0 +pyparsing==3.0.9 +pytest==7.1.3 +pytest-asyncio==0.19.0 +python-dateutil==2.8.2 +pytz==2022.2.1 +setuptools==65.4.0 +six==1.16.0 +tomli==2.0.1 +typing_extensions==4.3.0 +wheel==0.37.1 diff --git a/minimal_environment.yml b/minimal_environment.yml new file mode 100644 index 0000000000000..cbdb90bc8805d --- /dev/null +++ b/minimal_environment.yml @@ -0,0 +1,16 @@ +name: pandas-dev +channels: + - conda-forge +dependencies: + - python=3.8 + - pip + + # test dependencies + - cython=0.29.32 + - pytest>=6.0 + - pytest-asyncio>=0.17 + + # required dependencies + - python-dateutil + - numpy + - pytz \ No newline at end of file From cdfa44735d26032b27ae0c682d6f425943956c9d Mon Sep 17 00:00:00 2001 From: HebiKotei Date: Wed, 28 Sep 2022 14:03:23 +0000 Subject: [PATCH 2/3] newline --- minimal_environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal_environment.yml b/minimal_environment.yml index cbdb90bc8805d..9517c7501b6f0 100644 --- a/minimal_environment.yml +++ b/minimal_environment.yml @@ -13,4 +13,4 @@ dependencies: # required dependencies - python-dateutil - numpy - - pytz \ No newline at end of file + - pytz From 865709e62e0bc09ddd25f97dfc863eec111784bd Mon Sep 17 00:00:00 2001 From: HebiKotei Date: Mon, 3 Oct 2022 13:42:14 +0000 Subject: [PATCH 3/3] code checks implemented --- minimal-requirements.txt | 10 ++++++++++ minimal_environment.yml | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/minimal-requirements.txt b/minimal-requirements.txt index 328fde05fd858..16dd3849bd3d1 100644 --- a/minimal-requirements.txt +++ b/minimal-requirements.txt @@ -16,3 +16,13 @@ six==1.16.0 tomli==2.0.1 typing_extensions==4.3.0 wheel==0.37.1 +black==22.3.0 +cpplint +flake8==5.0.4 +flake8-bugbear +isort +mypy +pre-commit +pycodestyle +pyupgrade + diff --git a/minimal_environment.yml b/minimal_environment.yml index 9517c7501b6f0..2c73c7836255b 100644 --- a/minimal_environment.yml +++ b/minimal_environment.yml @@ -14,3 +14,14 @@ dependencies: - python-dateutil - numpy - pytz + + # code checks + - black=22.3.0 + - cpplint + - flake8=5.0.4 + - flake8-bugbear=22.7.1 # used by flake8, find likely bugs + - isort>=5.2.1 # check that imports are in the right order + - mypy=0.971 + - pre-commit>=2.15.0 + - pycodestyle # used by flake8 + - pyupgrade