Skip to content

Commit

Permalink
pip: update edk2-pytool-library requirement from ~=0.17.0 to ~=0.18.0 (
Browse files Browse the repository at this point in the history
…#571)

Updates the requirements on
[edk2-pytool-library](https://github.com/tianocore/edk2-pytool-library)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tianocore/edk2-pytool-library/releases">edk2-pytool-library's
releases</a>.</em></p>
<blockquote>
<h2>v0.18.0</h2>
<h2>What's Changed</h2>
<ul>
<li>database: multiple bugfixes by <a
href="https://github.com/Javagedes"><code>@​Javagedes</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/393">tianocore/edk2-pytool-library#393</a></li>
<li>edk2toollib/database: Switch to sqlite3 by <a
href="https://github.com/Javagedes"><code>@​Javagedes</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/406">tianocore/edk2-pytool-library#406</a></li>
</ul>
<h2>Integration Instructions</h2>
<p>Edk2DB now uses sqlite3 as the backend database rather than TinyDB.
This has come with an interface change for instantiating and using the
database and it's tables. Please refer to the readme for Edk2DB.
 </p>
<h2>Dependency Updates</h2>
<ul>
<li>build(deps-dev): bump coverage from 7.2.7 to 7.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/386">tianocore/edk2-pytool-library#386</a></li>
<li>build(deps-dev): bump mkdocs-awesome-pages-plugin from 2.9.1 to
2.9.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/391">tianocore/edk2-pytool-library#391</a></li>
<li>build(deps-dev): bump setuptools from 68.0.0 to 68.1.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/388">tianocore/edk2-pytool-library#388</a></li>
<li>build(deps-dev): bump mkdocs-material from 9.1.21 to 9.2.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/398">tianocore/edk2-pytool-library#398</a></li>
<li>build(deps-dev): bump joblib from 1.2.0 to 1.3.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/397">tianocore/edk2-pytool-library#397</a></li>
<li>build(deps-dev): bump mkdocstrings-python from 1.5.0 to 1.6.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/396">tianocore/edk2-pytool-library#396</a></li>
<li>build(deps-dev): bump ruff from 0.0.286 to 0.0.290 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/410">tianocore/edk2-pytool-library#410</a></li>
<li>build(deps): bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/409">tianocore/edk2-pytool-library#409</a></li>
<li>build(deps-dev): bump pytest from 7.4.0 to 7.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/408">tianocore/edk2-pytool-library#408</a></li>
<li>build(deps-dev): bump build from 0.10.0 to 1.0.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/407">tianocore/edk2-pytool-library#407</a></li>
<li>build(deps-dev): bump mkdocstrings[python] from 0.22.0 to 0.23.0 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/402">tianocore/edk2-pytool-library#402</a></li>
<li>build(deps-dev): bump pre-commit from 3.3.3 to 3.4.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/tianocore/edk2-pytool-library/pull/405">tianocore/edk2-pytool-library#405</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tianocore/edk2-pytool-library/compare/v0.17.0...v0.18.0">https://github.com/tianocore/edk2-pytool-library/compare/v0.17.0...v0.18.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/a2c523d71ce01fafc23a9818b7c21e651c0e26ff"><code>a2c523d</code></a>
build(deps-dev): bump pre-commit from 3.3.3 to 3.4.0 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/405">#405</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/bc692236c0cc1e5caff05f95164e2fa06889bac8"><code>bc69223</code></a>
build(deps-dev): bump mkdocstrings[python] from 0.22.0 to 0.23.0 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/402">#402</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/e516b158324f8854693220ac4e1af0ce49007324"><code>e516b15</code></a>
build(deps-dev): bump build from 0.10.0 to 1.0.3 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/407">#407</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/f986066274a0e9c6ce41695cbc5b605b2e176b71"><code>f986066</code></a>
build(deps-dev): bump pytest from 7.4.0 to 7.4.2 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/408">#408</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/c3186d8f4e3c393820b850e7d5035c23b591926d"><code>c3186d8</code></a>
build(deps): bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/409">#409</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/af8269484046f53aab9a5599002b77f291a06ff7"><code>af82694</code></a>
build(deps-dev): bump ruff from 0.0.286 to 0.0.290 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/410">#410</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/8b1ce2a1425626ddd91a0e720a50fe6ec0c2a206"><code>8b1ce2a</code></a>
edk2toollib/database: Switch to sqlite3 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/406">#406</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/17a2dac7e645690c01c7452453f62b9942324eb3"><code>17a2dac</code></a>
database: multiple bugfixes (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/393">#393</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/78295929b37af62a8cfc4c28eab72ed0c468f350"><code>7829592</code></a>
build(deps-dev): bump ruff from 0.0.285 to 0.0.286 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/395">#395</a>)</li>
<li><a
href="https://github.com/tianocore/edk2-pytool-library/commit/10d588a88b6bf7ba7c7b0eff8860c3c0c802e5f1"><code>10d588a</code></a>
build(deps-dev): bump mkdocstrings-python from 1.5.0 to 1.6.0 (<a
href="https://redirect.github.com/tianocore/edk2-pytool-library/issues/396">#396</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tianocore/edk2-pytool-library/compare/v0.17.0...v0.18.0">compare
view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

## Breaking Change

Platforms consuming this commit must update their edk2-pytool-library
dependency to at least 0.18.0.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joey Vagedes <joeyvagedes@microsoft.com>
  • Loading branch information
dependabot[bot] and Javagedes authored Sep 21, 2023
1 parent 17995d9 commit 5446d4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os
from edk2toolext.environment.plugintypes.ci_build_plugin import ICiBuildPlugin
from edk2toollib.uefi.edk2.parsers.dsc_parser import DscParser
from edk2toollib.uefi.edk2.parsers.inf_parser import InfParser
from edk2toollib.uefi.edk2.parsers.inf_parser import InfParser, AllPhases
from edk2toolext.environment.var_dict import VarDict


Expand Down Expand Up @@ -113,8 +113,9 @@ def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environment, PLM,
# should compile test a library that is declared type HOST_APPLICATION
pass

elif len(infp.SupportedPhases) > 0 and \
"HOST_APPLICATION" in infp.SupportedPhases:
elif (len(infp.SupportedPhases) > 0 and
"HOST_APPLICATION" in infp.SupportedPhases and
infp.SupportedPhases != AllPhases):
# should compile test a library that supports HOST_APPLICATION but
# require it to be an explicit opt-in
pass
Expand Down
2 changes: 1 addition & 1 deletion pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
##

edk2-pytool-library~=0.17.0 # MU_CHANGE
edk2-pytool-library~=0.18.0 # MU_CHANGE
edk2-pytool-extensions~=0.24.1 # MU_CHANGE
edk2-basetools==0.1.49
antlr4-python3-runtime==4.13.1
Expand Down

0 comments on commit 5446d4d

Please sign in to comment.