Skip to content

Commit aad506a

Browse files
authored
Merge branch 'master' into patch-11
2 parents afd7db3 + fc5ed32 commit aad506a

File tree

8 files changed

+158
-42
lines changed

8 files changed

+158
-42
lines changed

css/theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ footer p {
380380
margin: 0;
381381
}
382382

383-
:not(code):not(input)::-moz-selection {
383+
/* :not(code):not(input)::-moz-selection {
384384
text-shadow: none;
385385
background: #fcfcfc;
386386
background: rgba(255, 255, 255, 0.2);
@@ -390,7 +390,7 @@ footer p {
390390
text-shadow: none;
391391
background: #fcfcfc;
392392
background: rgba(255, 255, 255, 0.2);
393-
}
393+
} */
394394

395395
img::selection {
396396
background: 0 0;

index.html.tmpl

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,34 @@
140140
default channel. Unlike Miniconda, these support
141141
ARMv8 64-bit (formally known as `aarch64`).
142142
</p>
143+
<p>
144+
If you'd like to credit conda-forge in your work, you can cite our <a href="https://doi.org/10.5281/zenodo.4774216">zenodo entry</a> like this
145+
<br>
146+
</p>
147+
<blockquote>
148+
conda-forge community. (2015). The conda-forge Project: Community-based Software Distribution Built on the conda Package Format and Ecosystem. Zenodo. http://doi.org/10.5281/zenodo.4774216
149+
</blockquote>
150+
<p>
151+
or use this bibtex entry
152+
</p>
153+
<pre>{% raw %}@misc{conda_forge_community_2015_4774216,
154+
author = {conda-forge community},
155+
title = {{The conda-forge Project: Community-based Software
156+
Distribution Built on the conda Package Format and
157+
Ecosystem}},
158+
month = jul,
159+
year = 2015,
160+
publisher = {Zenodo},
161+
doi = {10.5281/zenodo.4774216},
162+
url = {https://doi.org/10.5281/zenodo.4774216}
163+
}{% endraw %}</pre>
143164
<p> <br>
144165
Learn more about conda-forge by reading our <a href="https://conda-forge.org/docs">docs</a>
145166
or watching the following episode of
146167
<a href="https://www.quansight.com/open-source-directions">Open Source Directions</a>.
147168
</p>
148169
<p align="center">
149-
<iframe width="560" class="responsive" height="315" src="https://www.youtube.com/embed/EWh-BtdYE7M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
170+
<iframe width="560" class="responsive" src="https://www.youtube.com/embed/EWh-BtdYE7M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
150171
</p>
151172
</div>
152173
</div>

src/maintainer/adding_pkgs.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ There are multiple ways to get started:
2828
#. If it is an R package from `CRAN <https://cran.r-project.org/>`_, kindly
2929
start by using the `conda-forge helper script for R recipes <https://github.com/bgruening/conda_r_skeleton_helper>`_ instead.
3030
Then if necessary, you can make manual edits to the recipe.
31-
#. If it is a python package, you can generate the recipe as a starting point with
32-
``grayskull pypi your_package_name``. To install it you can use ``conda install -c conda-forge grayskull``. You do *not* have to use ``grayskull``, and the
33-
recipes produced by ``grayskull`` will need to be reviewed and edited.
34-
In particular, you'll at least need to check the build line to :ref:`use pip <use-pip>`,
35-
add yourself as a maintainer,
36-
and specify a ``license_file``.
31+
#. If it is a python package, you can generate the recipe as a starting point with ``grayskull``.
32+
Use ``conda install -c conda-forge grayskull`` to install ``grayskull``, followed by ``grayskull pypi your_package_name`` to generate the recipe. Note that you do *not* necessarily have to use ``grayskull``, and the
33+
recipes produced by ``grayskull`` might need to be reviewed and edited. Read more about ``grayskull`` and how to use it `here <https://github.com/conda-incubator/grayskull#introduction>`_.
3734

3835
Your final recipe should have no comments (unless they're actually relevant to the recipe, and not generic instruction comments), and follow the order in the example.
3936

src/maintainer/knowledge_base.rst

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,24 @@ On Windows, you can also use ``nmake`` to build, but that does not need to be ex
1919
- make # [not win]
2020
- ninja # [win]
2121
22-
For CMake projects using the `FindPython3 <https://cmake.org/cmake/help/git-stage/module/FindPython3.html>`__
23-
module, you can tell CMake which Python to use by passing ``-DPython3_EXECUTABLE="$PYTHON"``
24-
(macOS or Linux) or ``-DPython3_EXECUTABLE="%PYTHON%"`` (Windows) as a command line option.
22+
For CMake projects using the `FindPython <https://cmake.org/cmake/help/git-stage/module/FindPython.html>`__
23+
module, you can tell CMake which Python to use by passing ``-DPython_EXECUTABLE="$PYTHON"``
24+
(macOS or Linux) or ``-DPython_EXECUTABLE="%PYTHON%"`` (Windows) as a command line option.
2525
Older CMake projects may require similar, but slightly different options.
2626

27+
.. tip::
28+
29+
Don't forget that depending on which CMake module you use you have to use a different command:
30+
31+
- `FindPython <https://cmake.org/cmake/help/git-stage/module/FindPython.html>`__:
32+
``-DPython_EXECUTABLE=...``.
33+
- `FindPython3 <https://cmake.org/cmake/help/git-stage/module/FindPython3.html>`__:
34+
``-DPython3_EXECUTABLE=...``.
35+
- `FindPython2 <https://cmake.org/cmake/help/git-stage/module/FindPython2.html>`__:
36+
``-DPython2_EXECUTABLE=...``.
37+
38+
or if you are still on the deprecated `FindPythonLibs <https://cmake.org/cmake/help/latest/module/FindPythonLibs.html>`__: ``-DPYTHON_EXECUTABLE=...``.
39+
2740
Some optional, but useful CMake options:
2841

2942
- ``-DCMAKE_BUILD_TYPE=Release`` Configure as release build. This is better done on the initial
@@ -189,20 +202,20 @@ To skip building with a particular ``vc`` version, add a skip statement.
189202
requirements:
190203
build:
191204
- {{ compiler('cxx') }}
192-
205+
193206
Using vs2019
194207
-------------
195208

196-
To use ``vs2019`` make the following changes:
209+
To use ``vs2019`` make the following changes:
197210

198-
In conda_build_config.yaml file:
211+
In conda_build_config.yaml file:
199212

200213
.. code-block:: yaml
201214
202-
c_compiler:
203-
- vs2019
204-
cxx_compiler:
205-
- vs2019
215+
c_compiler:
216+
- vs2019
217+
cxx_compiler:
218+
- vs2019
206219
207220
208221
In conda-forge.yml file:
@@ -213,8 +226,8 @@ In conda-forge.yml file:
213226
settings_win:
214227
pool:
215228
vmImage: windows-2019
216-
217-
229+
230+
218231
219232
For example see the changes made in the ``conda_build_config.yaml`` and ``conda-forge.yml`` files in `this
220233
<https://github.com/conda-forge/libignition-physics-feedstock/commit/c586d765a2f5fd0ecf6da43c53315c898c9bf6bd>`_ PR.
@@ -259,12 +272,12 @@ Core Dependency Tree Packages (CDTs)
259272
------------------------------------
260273

261274
Dependencies outside of the ``conda-forge`` channel should be avoided (see :ref:`no_external_deps`).
262-
However, there are a few exceptions:
275+
However, there are a few exceptions:
263276

264-
Some dependencies are so close to the system that they are not packaged with ``conda-forge``.
265-
These dependencies have to be satisfied with *Core Dependency Tree* (CDT) packages.
277+
Some dependencies are so close to the system that they are not packaged with ``conda-forge``.
278+
These dependencies have to be satisfied with *Core Dependency Tree* (CDT) packages.
266279

267-
A CDT package consists of repackaged CentOS binaries from the appropriate version,
280+
A CDT package consists of repackaged CentOS binaries from the appropriate version,
268281
either 6 or 7 depending on user choice and platform. We manage the build of CDT
269282
packages using a centralized repo, `conda-forge/cdt-builds <https://github.com/conda-forge/cdt-builds>`_,
270283
as opposed to generating feedstocks for them. (Note that historically we did use feedstocks but this

src/maintainer/maintainer_faq.rst

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,45 @@ FAQ
9191

9292
:ref:`(Q) <mfaq_conda_verify>` **I am seeing** ``Importing conda-verify failed.`` **error message during build. What do I do?**
9393

94-
``Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.``
95-
You are seeing this error message because by default, conda-build uses conda-verify to ensure that your recipe and package meet some minimum sanity checks.
96-
This message can be safely ignored as conda-forge doesn't use conda-verify.
94+
.. code-block:: shell
95+
96+
Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
97+
98+
You are seeing this error message because by default, conda-build uses conda-verify to ensure that your recipe and package meet some minimum sanity checks.
99+
This message can be safely ignored as conda-forge doesn't use conda-verify.
97100

98101

99102
.. _mfaq_version_update:
100103

101104
:ref:`(Q) <mfaq_version_update>` **When the bot creates a pull request to a feedstock to update the version, should I approve the pull request and wait with merging until everybody else that is a code owner has approved the PR?**
102105

103106
There is no need to approve the PR. Every maintainer can verify and merge the bot PR without waiting on the approval of the other maintainers.
104-
105107

106108

109+
.. _mfaq_docker_139:
110+
107111
:ref:`(Q) <mfaq_docker_139>` **How to fix "build-locally.py fails with exit code 139"?**
108112

109113
With Linux Kernel 4.11 there were some changes in the ``vsyscall`` linking. Depending on your distribution this may cause the above error. You can fix that on Debian by editing ``/etc/default/grub`` and specifiy ``GRUB_CMDLINE_LINUX_DEFAULT="vsyscall=emulate"`` in this file. Afterwards, you need to run ``update-grub`` and reboot your system. On other Linux distributions the fix is similar but you need to edit a different configuration file to change the Linux kernel cmdline. This workaround is only needed for images based on CentOS 6 (``cos6``). You could also workaround this by forcing the CentOS 7 based images using ``DOCKER_IMAGE=quay.io/condaforge/linux-anvil-cos7-x86_64 ./build-locally.py``.
110114

111115
The exit code 139 itself actually is the general exit code for a segmentation fault. This could also mean that you have run into a different issue but the above issue is the most likely one with our CentOS 6-based images.
112116

113-
.. _mfaq_package_submit:
117+
.. _mfaq_package_submit:
114118

115119
:ref:`(Q) <mfaq_package_submit>` **Is it necessary for me to be an upstream maintainer of the package I submit to Conda-forge?**
116-
Everybody can submit a package to Conda-forge, irrespective of whether they maintain the upstream version or not. Additionally, it’s not required but considered good practice to inform the upstream of a new package and invite them to be maintainers as well.
120+
121+
Everybody can submit a package to Conda-forge, irrespective of whether they maintain the upstream version or not. Additionally, it’s not required but considered good practice to inform the upstream of a new package and invite them to be maintainers as well.
122+
123+
124+
.. _mfaq_libGL_so_1:
125+
126+
:ref:`(Q) <mfaq_libGL_so_1>` **How do I fix the** ``libGL.so.1`` **import error?**
127+
128+
129+
Error:
130+
131+
.. code-block:: shell
132+
133+
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
134+
135+
To fix the error, create a `yum_requirements.txt <https://conda-forge.org/docs/maintainer/knowledge_base.html#yum-deps>`_ file and add *mesa-libGL*.

src/orga/subteams.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,35 @@ Members
263263
- Anthony Scopatz <[email protected]>
264264
- Hadrien Mary <[email protected]>
265265
- Isuru Fernando <[email protected]>
266+
267+
268+
Diversity and Inclusion Sub-Team
269+
================================
270+
271+
Role
272+
----
273+
Develop ``conda-forge`` as a diverse community and advocate for
274+
actions impacting underrepresented groups in ``conda-forge``.
275+
276+
Charter
277+
-------
278+
Dynamic
279+
280+
Responsibility
281+
--------------
282+
One of the core strengths of ``conda-forge`` is the diversity of ecosystems it supports.
283+
Likewise, fostering and advancing a diverse community of users, maintainers, and infrastructure contributors
284+
is an important part of creating and maintaining a vibrant project.
285+
The mandate of this subteam is to support and increase the diversity of the ``conda-forge``
286+
community at all levels.
287+
As such this group can, but is not limited to:
288+
- provide a place for issues impacting diversity to be heard
289+
- advocate for underrepresented groups and bring their issues to the attention of core
290+
- run programs to maintain and grow the community's diversity and inclusiveness
291+
292+
Members
293+
-------
294+
- Filipe Fernandes <[email protected]>
295+
- Christopher J. "CJ" Wright <[email protected]>
296+
- Marcelo Duarte Trevisani <[email protected]>
297+
- Peter K. G. Williams <[email protected]>

src/user/announcements.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Announcements
55

66
Our announcements are published to an RSS feed `here <https://conda-forge.org/docs/news.rss>`_.
77

8+
2021
9+
----
10+
11+
:2020-05-22: ``conda-forge`` is now citable!
12+
13+
You can now cite ``conda-forge`` using our `Zenodo entry <https://doi.org/10.5281/zenodo.4774216>`_!
14+
This entry credits the entire ``conda-forge`` community for its hard work in building our
15+
amazing ecosystem.
16+
817
2020
918
----
1019

src/user/introduction.rst

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This came with a list of disadvantages:
3030

3131
- Locating packages was difficult due to them being scattered over many channels.
3232
- Combining packages across channels was not always possible due to binary incompatibilities.
33-
- Packages were only available for architectures the developer was interested in or had access to.
33+
- Packages were only available for architectures the developer was interested in or had access to.
3434
- Channels were often abandoned, updating required locating new channels.
3535

3636
conda-forge is a community effort that tackles these issues:
@@ -43,32 +43,30 @@ conda-forge is a community effort that tackles these issues:
4343
- An active core developer team is trying to also maintain abandoned packages.
4444

4545

46-
4746
How can I install packages from conda-forge?
4847
--------------------------------------------
4948

5049
Using conda-forge is easy!
5150

5251
- Make sure you have ``conda >=4.9``.
53-
52+
5453
.. code-block:: bash
5554
5655
conda --version
5756
conda update conda
58-
59-
- Add ``conda-forge`` as the highest priority channel.
60-
57+
58+
- Add ``conda-forge`` as the highest priority channel.
59+
6160
.. code-block:: bash
6261
6362
conda config --add channels conda-forge
64-
63+
6564
- Activate ``strict`` channel priority (``strict`` will be activated by default in conda 5.0).
66-
65+
6766
.. code-block:: bash
6867
6968
conda config --set channel_priority strict
7069
71-
7270
From now on using ``conda install <package-name>`` will also find packages in our conda-forge channels.
7371

7472
.. note::
@@ -82,7 +80,7 @@ From now on using ``conda install <package-name>`` will also find packages in ou
8280
.. note::
8381

8482
Please be aware that the order of your conda package channels is important, especially when you combine conda-forge with other channels, e.g. ``bioconda``.
85-
83+
8684
.. note::
8785

8886
`Miniforge <https://github.com/conda-forge/miniforge>`__ is a community
@@ -96,9 +94,36 @@ From now on using ``conda install <package-name>`` will also find packages in ou
9694
Please refer to :ref:`multiple_channels` for pitfalls and more information.
9795

9896

97+
How can I give credit to ``conda-forge``?
98+
-----------------------------------------
99+
100+
If you'd like to credit ``conda-forge`` in your work, please cite our `Zenodo entry <https://doi.org/10.5281/zenodo.4774216>`_. This citation is
101+
102+
::
103+
104+
conda-forge community. (2015). The conda-forge Project: Community-based
105+
Software Distribution Built on the conda Package Format and Ecosystem.
106+
Zenodo. http://doi.org/10.5281/zenodo.4774216
107+
108+
or in `bibtex` it is
109+
110+
::
111+
112+
@misc{conda_forge_community_2015_4774216,
113+
author = {conda-forge community},
114+
title = {{The conda-forge Project: Community-based Software
115+
Distribution Built on the conda Package Format and
116+
Ecosystem}},
117+
month = jul,
118+
year = 2015,
119+
publisher = {Zenodo},
120+
doi = {10.5281/zenodo.4774216},
121+
url = {https://doi.org/10.5281/zenodo.4774216}
122+
}
123+
99124

100125
Display conda-forge packages in Anaconda Navigator
101-
------------------------------------------------------------
126+
--------------------------------------------------
102127

103128
#. Open **Anaconda Navigator** by running ``anaconda-navigator``
104129
#. Go to the **Environments** tab.

0 commit comments

Comments
 (0)