# Deprecation Warnings

**URL:** <https://aiida.discourse.group/t/deprecation-warnings/329>\
**Category:** General Usage\
**Created:** [March 11, 2024, 5:35am UTC](https://aiida.discourse.group/t/deprecation-warnings/329 "2024-03-11T05:35:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![addman](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@addman](https://aiida.discourse.group/u/addman)\
**Post date:** [March 11, 2024, 5:35am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/1 "2024-03-11T05:35:10Z")

</div>

Dear Community,

Is there a way how to suppress deprecation warnings for a time being? I am giving a small talk showing how we use AiiDA in QMC. I recently updated AiiDA version and a lot of deprecation warnings appeared. I want to show the audience some live examples and these warnings makes them less appealing.

Thanks

---

<div class="post-metadata">

**Author:** ![sphuber](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/sphuber/32/6_2.png) [@sphuber](https://aiida.discourse.group/u/sphuber)\
**Post date:** [March 11, 2024, 7:57am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/2 "2024-03-11T07:57:48Z")

</div>

The warnings that are emitted by AiiDA’s code itself can be suppressed by setting

```auto
verdi config set warnings.showdeprecations false

```

---

<div class="post-metadata">

**Author:** ![addman](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@addman](https://aiida.discourse.group/u/addman)\
**Post date:** [March 11, 2024, 8:23am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/3 "2024-03-11T08:23:24Z")

</div>

Thank you, is this setting affecting current profile or it is my global user setting?

---

<div class="post-metadata">

**Author:** ![addman](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@addman](https://aiida.discourse.group/u/addman)\
**Post date:** [March 11, 2024, 8:28am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/4 "2024-03-11T08:28:30Z")

</div>

> [@sphuber](#):
>
> `verdi config set warnings.showdeprecations false`

I guess it is a profile setting since aiida returned:

```auto
Success: 'warnings.showdeprecations' set to False for '...' profile

```

---

<div class="post-metadata">

**Author:** ![sphuber](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/sphuber/32/6_2.png) [@sphuber](https://aiida.discourse.group/u/sphuber)\
**Post date:** [March 11, 2024, 8:42am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/5 "2024-03-11T08:42:35Z")

</div>

Indeed it applies to the default profile.  
You can always specify a different profile

```auto
verdi -p some-profile config set ...

```

or apply globally

```auto
verdi config set warnings.showdeprecations false --global

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/aiida/original/1X/c417197d3750949351575d03ed03f5e2ad32e649.png) [@system](https://aiida.discourse.group/u/system)\
**Post date:** [March 11, 2026, 8:42am UTC](https://aiida.discourse.group/t/deprecation-warnings/329/6 "2026-03-11T08:42:38Z")

</div>

This topic was automatically closed 730 days after the last reply. New replies are no longer allowed.
