Skip to content

conda-build: Extend development environment for Windows #2328

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

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build_with_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
uses: SimenB/[email protected]
id: cpu-cores

- name: Install Conda environment from environment_unix.yml
- name: Install Conda environment from environment-dev.yml
uses: mamba-org/[email protected]
with:
environment-file: environment_unix.yml
environment-file: environment-dev.yml
init-shell: >-
bash
cache-environment: true
Expand Down Expand Up @@ -124,10 +124,10 @@ jobs:
uses: SimenB/[email protected]
id: cpu-cores

- name: Install Conda environment from environment_unix.yml
- name: Install Conda environment from environment-dev.yml
uses: mamba-org/[email protected]
with:
environment-file: environment_unix.yml
environment-file: environment-dev.yml
environment-name: arcticdb
init-shell: >-
bash
Expand Down
2 changes: 1 addition & 1 deletion asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
// "conda_channels": ["conda-forge", "defaults"],

// A conda environment file that is used for environment creation.
// "conda_environment_file": "environment_unix.yml",
// "conda_environment_file": "environment-dev.yml",

// The matrix of dependencies to test. Each key of the "req"
// requirements dictionary is the name of a package (in PyPI) and
Expand Down
4 changes: 2 additions & 2 deletions docs/mkdocs/docs/technical/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ due to a linkage problems with libprotobuf.
See: https://github.com/man-group/ArcticDB/pull/449**

- [Install `mamba`](https://mamba.readthedocs.io/en/latest/installation.html)
- Create the `arcticdb` environment from its specification (`environment_unix.yml`):
- Create the `arcticdb` environment from its specification (`environment-dev.yml`):

```bash
mamba env create -f environment_unix.yml
mamba env create -f environment-dev.yml
```

- Activate the `arcticdb` environment (you will need to do this for every new shell session):
Expand Down
18 changes: 12 additions & 6 deletions environment_unix.yml → environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ channels:
- conda-forge
dependencies:
# Build tools
- sel(win): ninja
- wheel
- setuptools
- cxx-compiler
- c-compiler
- cmake
Expand Down Expand Up @@ -52,9 +55,12 @@ dependencies:
- libiconv
- aws-c-s3
# Build dependencies for tests
- libarrow==18.0.0
# Use libarrow==18.0.0 only on Linux and MacOS (resolution problem on Windows)
# TODO: Remove this when the issue is resolved
- sel(unix): libarrow==18.0.0
- sel(win): libarrow
# Python dependences
- python <3.14
- python >=3.12,<3.14
- packaging
- numpy
- pandas
Expand All @@ -69,7 +75,6 @@ dependencies:
# See: https://github.com/man-group/ArcticDB/pull/291
- hypothesis <6.73
- pytest-sugar
- pytest-xdist
- pytest-timeout
# Python dependencies (for tests only)
- azure-storage-blob
Expand All @@ -81,6 +86,7 @@ dependencies:
- trustme
- entt
- psutil
- memray
- pytest-memray

# Use memray and pytest-memray only on Linux and MacOS
- sel(unix): memray
- sel(unix): pytest-memray
- sel(unix): pytest-xdist
Loading