Skip to content

Commit f859820

Browse files
authored
Updated to use latest version of swig (#1242)
1 parent 0f03651 commit f859820

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ RUN apt install -y python3-dev python3-pip
2525
RUN pip3 install --upgrade setuptools
2626
RUN apt install -y build-essential
2727

28-
# https://github.com/automl/auto-sklearn/issues/314
29-
RUN apt install -y swig3.0
30-
RUN ln -s /usr/bin/swig3.0 /usr/bin/swig
28+
RUN apt install -y swig
3129

3230
# Copy the checkout autosklearn version for installation
3331
ADD . /auto-sklearn/

doc/faq.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ following:
8484
1. Check if you can use a pre-compiled version of the pyrfr to avoid compiling it yourself. We
8585
provide pre-compiled versions of the pyrfr on `pypi <https://pypi.org/project/pyrfr/#files>`_.
8686
2. Check if the dependencies specified under :ref:`installation` are correctly installed,
87-
especially that you have ``swig`` and a ``C++`` compiler. If you are using an older version of
88-
the pyrfr (``<=0.8.0``) the dependency on SWIG as stricter and you actually need SWIG3 to
89-
compile the pyrfr.
87+
especially that you have ``swig`` and a ``C++`` compiler.
9088
3. If you are not yet using Conda, consider using it; it simplifies installation of the correct
9189
dependencies.
9290
4. Install correct build dependencies before installing the pyrfr, you can check the following

doc/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In case you try to install Auto-sklearn on a system where no wheel files for the
1919
are provided (see `here <https://pypi.org/project/pyrfr/#files>`_ for available wheels) you also
2020
need:
2121

22-
* SWIG (version 3.0.* is required; >=4.0.0 is not supported) (`get SWIG here <http://www.swig.org/survey.html>`_).
22+
* SWIG (`get SWIG here <http://www.swig.org/survey.html>`_).
2323

2424
For an explanation of missing Microsoft Windows and MAC OSX support please
2525
check the Section `Windows/OSX compatibility`_.

0 commit comments

Comments
 (0)