Skip to content

Commit 333aa9d

Browse files
authored
Update conda recipe/instructions (#108)
* Updates recipe and installation files * Changes required torch version (#107) * Constraints pandas version * Updates recipe and installation files * Constraints pandas version
1 parent 56848a5 commit 333aa9d

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If you want to install from source or contribute to the project please read the
5757
**CTGAN** can also be installed using [conda](https://docs.conda.io/en/latest/):
5858

5959
```bash
60-
conda install -c sdv-dev -c conda-forge ctgan
60+
conda install -c sdv-dev -c pytorch -c conda-forge ctgan
6161
```
6262

6363
This will pull and install the latest stable release from [Anaconda](https://anaconda.org/).

conda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ branch and build the conda package.
1717
```bash
1818
git checkout stable
1919
cd conda
20-
conda build -c pytorch .
20+
conda build -c sdv-dev -c pytorch -c conda-forge .
2121
```
2222

2323
## Upload to Anaconda

conda/meta.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,24 @@ build:
1818
requirements:
1919
host:
2020
- numpy <2,>=1.17.4
21-
- pandas <2,>=0.24
21+
- pandas <1.1.5,>=0.24
2222
- pip
2323
- python
2424
- rdt >=0.2.7,<0.3
2525
- scikit-learn <0.24,>=0.21
2626
- pytorch <2,>=1.0
2727
- torchvision <1,>=0.4.2
28+
- packaging
2829
- pytest-runner
2930
run:
3031
- numpy <2,>=1.17.4
31-
- pandas <2,>=0.24
32+
- pandas <1.1.5,>=0.24
3233
- python
3334
- rdt >=0.2.7,<0.3
3435
- scikit-learn <0.24,>=0.21
3536
- pytorch <2,>=1.0
3637
- torchvision <1,>=0.4.2
38+
- packaging
3739

3840
about:
3941
home: "https://github.com/sdv-dev/CTGAN"
@@ -46,4 +48,4 @@ about:
4648

4749
extra:
4850
recipe-maintainers:
49-
- sdv-dev
51+
- sdv-dev

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'scikit-learn<0.24,>=0.21',
1818
'rdt>=0.2.7,<0.3',
1919
'numpy<2,>=1.17.4',
20-
'pandas<2,>=0.24',
20+
'pandas<1.1.5,>=0.24',
2121
'packaging',
2222
]
2323

0 commit comments

Comments
 (0)