Skip to content

Commit d80dfcc

Browse files
authored
Remove lower bound version on cpp-argparse environment-dev.yml (#271)
* Remove restriction on cpp-argparse version
1 parent 93d7a6a commit d80dfcc

File tree

3 files changed

+9
-29
lines changed

3 files changed

+9
-29
lines changed

README.md

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ cd ./xeus-cpp
3939
The safest usage of xeus-cpp from source is to build and install it within a clean environment named `xeus-cpp`. You can create and activate this environment
4040
with mamba by executing the following
4141
```bash
42-
mamba create -n "xeus-cpp"
43-
source activate "xeus-cpp"
44-
```
45-
We will now install the dependencies needed to compile xeux-cpp from source within this environment by executing the following
46-
```bash
47-
mamba install notebook cmake cxx-compiler xeus-zmq nlohmann_json=3.11.3 jupyterlab CppInterOp cpp-argparse">=3.0,<4.0" pugixml doctest -c conda-forge
42+
micromamba create -f environment-dev.yml
43+
micromamba activate xeus-cpp
44+
micromamba install jupyterlab -c conda-forge
4845
```
4946
Now you can compile the kernel from the source by executing (replace `$CONDA_PREFIX` with a custom installation prefix if need be)
5047
```bash
@@ -184,21 +181,11 @@ http://xeus-cpp.readthedocs.io
184181
- [nlohmann_json](https://github.com/nlohmann/json)
185182
- [argparse](https://github.com/p-ranav/argparse)
186183
- [CppInterOp](https://github.com/compiler-research/CppInterOp)
184+
- [pugixml](https://github.com/zeux/pugixml)
187185

188186
| `xeus-cpp` | `xeus-zmq` | `CppInterOp` | `pugixml` | `cpp-argparse`| `nlohmann_json` |
189187
|------------|-----------------|--------------|-----------|---------------|-----------------|
190-
| main | >=3.0.0,<4.0.0 | >=1.7.0 | ~1.8.1 | >=3.0,<4.0 | >=3.12.0,<4.0 |
191-
| 0.6.0 | >=3.0.0,<4.0.0 | >=1.5.0 | ~1.8.1 | <3.1 | >=3.11.3,<4.0 |
192-
| 0.5.0 | >=3.0.0,<4.0.0 | >=1.3.0 | ~1.8.1 | <3.1 | >=3.11.3,<4.0 |
193-
194-
Versions prior to `0.5.0` have an additional dependency on [xtl](https://github.com/xtensor-stack/xtl), [clang](https://github.com/llvm/llvm-project/) & [cppzmq](https://github.com/zeromq/cppzmq)
195-
196-
| `xeus-cpp` | `xeus-zmq` | `xtl` | `clang` | `pugixml` | `cppzmq` | `cpp-argparse`| `nlohmann_json` |
197-
|------------|-----------------|-----------------|-----------|-----------|----------|---------------|-----------------|
198-
| 0.4.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 |
199-
| 0.3.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 |
200-
| 0.2.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 |
201-
| 0.1.0 | >=1.0.0,<2.0.0 | >=0.7.0,<0.8.0 | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 |
188+
| main | 3.1.0 | 1.7.0 | 1.15 | 3.2 | 3.12.0 |
202189

203190
## Contributing
204191

docs/source/InstallationAndUsage.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,9 @@ this environment with mamba by executing the following
2121

2222
.. code-block:: bash
2323
24-
mamba create -n "xeus-cpp"
25-
source activate "xeus-cpp"
26-
27-
We will now install the dependencies needed to compile xeux-cpp from source within
28-
this environment by executing the following
29-
30-
.. code-block:: bash
31-
32-
mamba install notebook cmake cxx-compiler xeus-zmq nlohmann_json=3.11.3
33-
jupyterlab CppInterOp cpp-argparse">=3.0,<4.0" pugixml doctest -c conda-forge
24+
micromamba create -f environment-dev.yml
25+
micromamba activate xeus-cpp
26+
micromamba install jupyterlab -c conda-forge
3427
3528
Now you can compile the kernel from the source by executing (replace `$CONDA_PREFIX`
3629
with a custom installation prefix if need be)

environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- nlohmann_json=3.12.0
1313
- CppInterOp
1414
- pugixml
15-
- cpp-argparse>=3.0,<4.0
15+
- cpp-argparse
1616
# Test dependencies
1717
- pytest
1818
- jupyter_kernel_test<0.8

0 commit comments

Comments
 (0)