Skip to content

Commit 13e08a9

Browse files
authored
Merge pull request #206 from DoubleML/dev
Update workflows and Release Notes for 0.9.2
2 parents 36390c7 + c7abe2f commit 13e08a9

File tree

7 files changed

+49
-17
lines changed

7 files changed

+49
-17
lines changed

.github/workflows/deploy_docu_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
pip install -r requirements.txt
3737
pip uninstall -y DoubleML
3838
cd doubleml-for-py
39-
pip install -e .
39+
pip install -e .[rdd]
4040
4141
- name: Add R repository
4242
run: |

.github/workflows/test_build_docu_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
pip install -r requirements.txt
6464
pip uninstall -y DoubleML
6565
cd doubleml-for-py
66-
pip install -e .
66+
pip install -e .[rdd]
6767
6868
- name: Add R repository
6969
run: |

doc/examples/py_double_ml_rdflex.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"with $Y_i(1)$ and $Y_i(0)$ denoting the potential outcomes of an individual with and without treatment, respectively."
1616
]
1717
},
18+
{
19+
"cell_type": "markdown",
20+
"metadata": {},
21+
"source": [
22+
"**Note:** The dependencies for the module ``doubleml.rdd`` can be installed seperately via ``pip install rdrobust``, if necessary."
23+
]
24+
},
1825
{
1926
"cell_type": "code",
2027
"execution_count": null,

doc/intro/install.rst

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ There are three different ways to install the python package :ref:`DoubleML <dou
1717
- Install a released version of DoubleML from a .whl file.
1818
- Building the package from source. This is recommended if you want to work with the latest development version of the package. This also the best way if you wish to contribute to DoubleML.
1919

20+
.. note::
21+
Since DoubleML 0.9.2, some dependencies are installed optionally. For details, please read the instructions below.
22+
23+
2024
Python: Installing the latest release from pip or conda
2125
-------------------------------------------------------
2226

@@ -313,6 +317,17 @@ Python: Installing the latest release from pip or conda
313317
314318
315319
320+
Python: Optional Dependencies
321+
-----------------------------
322+
323+
In all installation procedures specified above, the dependencies required for the ``doubleml.rdd`` module as well as
324+
the package development requirements are not included in the installation. Please use ``pip install doubleml[rdd]``, ``pip install doubleml[dev]``
325+
or ``pip install doubleml[dev,rdd]`` to install the necessary requirements for these modules, if desired.
326+
327+
.. note::
328+
The dependency ``rdrobust`` required in the ``doubleml.rdd`` module is currently not available on conda-forge.
329+
330+
316331
Python: Installing a released version from a .whl file
317332
------------------------------------------------------
318333

@@ -345,13 +360,6 @@ re-interpreted when the python interpreter restarts without having to re-build t
345360
346361
$ pip install --editable .
347362
348-
An alternative to pip with the ``--editable`` flag is the ``develope`` mode of setuptools. To use it call
349-
350-
.. code-block:: Bash
351-
352-
$ python setup.py develop
353-
354-
355363
.. _install_r:
356364

357365
R: Installing DoubleML

doc/release/release.rst

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ Release notes
77

88
.. tab-item:: Python
99

10+
.. dropdown:: DoubleML 0.9.2
11+
:class-title: sd-bg-primary sd-font-weight-bold
12+
:open:
13+
14+
- Make `rdrobust` optional for conda. Create `pyproject.toml` and remove `setup.py` for packaging
15+
`#285 <https://github.com/DoubleML/doubleml-for-py/pull/285>`_
16+
`#286 <https://github.com/DoubleML/doubleml-for-py/pull/286>`_
17+
18+
- Maintenance package
19+
`#284 <https://github.com/DoubleML/doubleml-for-py/pull/284>`_
20+
21+
- Maintenance doccumentation
22+
`#205 <https://github.com/DoubleML/doubleml-docs/pull/205>`_
23+
`#206 <https://github.com/DoubleML/doubleml-docs/pull/206>`_
24+
`#207 <https://github.com/DoubleML/doubleml-docs/pull/207>`_
25+
1026
.. dropdown:: DoubleML 0.9.1
1127
:class-title: sd-bg-primary sd-font-weight-bold
1228
:open:
@@ -26,7 +42,7 @@ Release notes
2642
- Add AutoML example for tuning DoubleML estimators
2743
`#199 <https://github.com/DoubleML/doubleml-docs/pull/199>`_
2844

29-
- Maintainance package
45+
- Maintenance package
3046
`#268 <https://github.com/DoubleML/doubleml-for-py/pull/268>`_
3147
`#278 <https://github.com/DoubleML/doubleml-for-py/issues/278>`_
3248
`#279 <https://github.com/DoubleML/doubleml-for-py/pull/279>`_
@@ -39,7 +55,6 @@ Release notes
3955

4056
.. dropdown:: DoubleML 0.9.0
4157
:class-title: sd-bg-primary sd-font-weight-bold
42-
:open:
4358

4459
- **Release highlight:** Average potential outcomes for multiple discrete treatments
4560
via ``DoubleMLAPO`` and ``DoubleMLAPOS`` classes (proposed by `Apoorva Lal <https://github.com/apoorvalal>`_)
@@ -53,7 +68,7 @@ Release notes
5368
- Add sensitivity analysis to ``DoubleMLFramework``
5469
`#249 <https://github.com/DoubleML/doubleml-for-py/pull/249>`_
5570

56-
- Maintainance package
71+
- Maintenance package
5772
`#264 <https://github.com/DoubleML/doubleml-for-py/pull/264>`_
5873
`#265 <https://github.com/DoubleML/doubleml-for-py/pull/265>`_
5974
`#266 <https://github.com/DoubleML/doubleml-for-py/pull/266>`_
@@ -87,7 +102,7 @@ Release notes
87102
- Update the ``make_confounded_irm_data`` data generating process
88103
`#263 <https://github.com/DoubleML/doubleml-for-py/pull/263>`_
89104

90-
- Maintainance package
105+
- Maintenance package
91106
`#264 <https://github.com/DoubleML/doubleml-for-py/pull/264>`_
92107

93108
- Maintenance documentation
@@ -108,7 +123,7 @@ Release notes
108123
`#173 <https://github.com/DoubleML/doubleml-docs/pull/173>`_
109124
`#174 <https://github.com/DoubleML/doubleml-docs/pull/174>`_
110125

111-
- Maintainance documentation
126+
- Maintenance documentation
112127
`#172 <https://github.com/DoubleML/doubleml-docs/pull/172>`_
113128

114129
.. dropdown:: DoubleML 0.8.0
@@ -140,7 +155,7 @@ Release notes
140155
`#167 <https://github.com/DoubleML/doubleml-docs/pull/167>`_
141156
`#168 <https://github.com/DoubleML/doubleml-docs/pull/168>`_
142157

143-
- Maintainance package
158+
- Maintenance package
144159
`#225 <https://github.com/DoubleML/doubleml-for-py/pull/225>`_
145160
`#229 <https://github.com/DoubleML/doubleml-for-py/pull/229>`_
146161
`#246 <https://github.com/DoubleML/doubleml-for-py/pull/246>`_

doc/shared/models/rdd.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Let :math:`Y_i` be the observed outcome of an individual and :math:`D_i` the tre
1313
- :math:`D_i` the **treatment received** (in sharp RDD instead of :math:`T_i`)
1414
- :math:`T_i` the **treatment assigned** (only relevant in fuzzy RDD)
1515

16+
.. note::
17+
The ``doubleml.rdd`` module depends on ``rdrobust`` which can be installed via ``pip install rdrobust`` or ``pip install doubleml[rdd]``.
18+
1619
Sharp Regression Discontinuity Design
1720
*************************************
1821

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DoubleML
1+
DoubleML[rdd]
22

33
# test
44
pytest
@@ -20,4 +20,3 @@ seaborn
2020
xgboost
2121
lightgbm
2222
flaml
23-
rdrobust

0 commit comments

Comments
 (0)