Commits on Source (12)
-
Chandan Singh authored
Starting from `pytest` version 4.1.0, `Node.get_marker()` has been removed, and hence our tests break when running with newer versions of `pytest`. It was deprecated since a while back but it has recently been removed completely. Use `get_closest_marker()` as a replacement that is suggested in the changelog, and seems to work fine for our use case. See https://github.com/pytest-dev/pytest/pull/4564 for more context on the upstream issue. One way of verifying this change is that this should fix the recently added `tests-fedora-update-deps` job, that was failing before due to this issue. (cherry picked from commit c91784ab)
-
Chandan Singh authored
Add `.in` and `.txt` requirements files for BuildStream's pure python dependencies. For each pair, the `.in` file is supposed to capture the loose version requirements, and the corresponding `.txt` file is supposed to have frozen requirements. We have 3 such sets: * `requirements`: BuildStream's runtime dependencies * `dev-requirements`: Dependencies for running tests * `plugin-requirements`: Dependencies for core plugins Note that the frozen requirements files will only be used for testing purposes, and `setup.py` will continue to read loose requirements. This commit comes with a Makefile to update the requirements files as well. --- !1027 is related MR for the master branch.
-
Chandan Singh authored
`tox.ini` has seen heavy churn lately, and backporting individual commits is turning out to be a more involved process as the two branches have diverged a bit. So, this is more or less copy-pasted from the master branch, without a separate lint job. Since switching to `pycodestyle` will require some code formatting changes, that does not seem reasonable to apply to this branch. So, let's stick with running the linters via `pytest`.
-
Chandan Singh authored
-
Chandan Singh authored
This commit a backport of a handful of merge requests to master. As these two branches have diverged a bit and the master branch has seen a fair bit of churn lately, it was not trivial to simply cherry-pick the changes. Some related merge reqtests are: !1027, !1037 and !1051.
-
* Omit versioneer's _version.py * Omit our __main__.py which is used only internally for generating documentation (cherry picked from commit 116c1070)
-
Chandan Singh authored
This is relevant bit of change from the MR !1051, to fix the coverage stats.
-
Chandan Singh authored
Run tests using tox See merge request !1111
-
Dor Askayo authored
Also bump the element's version so cached artifacts would be invalidated. Fixes #883 (cherry picked from commit 03111d39)
-
James Ennis authored
filter.py: don't recurse when staging dependencies See merge request !1127
-
Valentin David authored
This was broken by 9252a181.
Showing
- .coveragerc 5 additions, 1 deletion.coveragerc
- .gitignore 3 additions, 0 deletions.gitignore
- .gitlab-ci.yml 35 additions, 110 deletions.gitlab-ci.yml
- MANIFEST.in 9 additions, 1 deletionMANIFEST.in
- Makefile 21 additions, 0 deletionsMakefile
- buildstream/_artifactcache/cascache.py 1 addition, 0 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/plugins/elements/filter.py 4 additions, 2 deletionsbuildstream/plugins/elements/filter.py
- conftest.py 1 addition, 1 deletionconftest.py
- doc/bst2html.py 1 addition, 1 deletiondoc/bst2html.py
- requirements/dev-requirements.in 0 additions, 0 deletionsrequirements/dev-requirements.in
- requirements/dev-requirements.txt 27 additions, 0 deletionsrequirements/dev-requirements.txt
- requirements/plugin-requirements.in 2 additions, 0 deletionsrequirements/plugin-requirements.in
- requirements/plugin-requirements.txt 4 additions, 0 deletionsrequirements/plugin-requirements.txt
- requirements/requirements.in 8 additions, 0 deletionsrequirements/requirements.in
- requirements/requirements.txt 11 additions, 0 deletionsrequirements/requirements.txt
- setup.py 5 additions, 11 deletionssetup.py
- tests/plugins/filter.py 20 additions, 0 deletionstests/plugins/filter.py
- tests/plugins/filter/basic/elements/input-with-deps.bst 14 additions, 0 deletionstests/plugins/filter/basic/elements/input-with-deps.bst
- tests/plugins/filter/basic/elements/output-include-with-indirect-deps.bst 5 additions, 0 deletions...lter/basic/elements/output-include-with-indirect-deps.bst
- tox.ini 70 additions, 0 deletionstox.ini
Makefile
0 → 100644
requirements/dev-requirements.txt
0 → 100644
requirements/plugin-requirements.in
0 → 100644
requirements/plugin-requirements.txt
0 → 100644
requirements/requirements.in
0 → 100644
requirements/requirements.txt
0 → 100644
tox.ini
0 → 100644