Comments (6)
Evening @alonbl ,
I pushed an update for this to the issue-1146
branch. When you get a chance could you check on your end that the issue is resolved.
For some reason I get the following reported by pytest:
/home/jcleary/projects/vsg-master/.tox/test-py38/lib/python3.8/site-packages/_pytest/terminal.py:876: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: 140489805125376, Hook: pytest_terminal_summary
JSONDecodeError: Expecting value: line 1 column 49128 (char 49127)
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
self.config.hook.pytest_terminal_summary(
......../home/jcleary/projects/vsg-master/.tox/test-py38/lib/python3.8/site-packages/_pytest/terminal.py:876: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: 140674028668672, Hook: pytest_terminal_summary
JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 16371 (char 16370)
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
self.config.hook.pytest_terminal_summary(
Everything seems to run, so it is confusing why it shows up.
--Jeremy
from vhdl-style-guide.
Hi,
The ci[1] passed also I checked it and it works at my end, so it must be something locally.
Can you please verify that you have no important files within your git workspace and:
git reset --hard
git clean -dxff
tox
tox -e docs
[1] https://github.com/jeremiah-c-leary/vhdl-style-guide/actions/runs/8413651869
from vhdl-style-guide.
Evening @alonbl ,
I ran the commands you listed above and check for any uncommitted files. Interestingly the error does not show up when I run tox -e test-py8
, but it does show up when I run tox -e py310
.
--Jeremy
from vhdl-style-guide.
tox -e py310
should not do anything as there is no environment at py310
name, see below output.
$ tox -e py310
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
.pkg: _optional_hooks> python /home/alonbl/tmp/vhdl-style-guide/.tox/.tox/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_sdist> python /home/alonbl/tmp/vhdl-style-guide/.tox/.tox/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: build_sdist> python /home/alonbl/tmp/vhdl-style-guide/.tox/.tox/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta
py310: install_package> python -I -m pip install --force-reinstall --no-deps /home/alonbl/tmp/vhdl-style-guide/.tox/.tmp/package/2/vsg-3.22.0.post27+git.b4e1d2d0.tar.gz
py310: OK (12.55 seconds)
congratulations :) (12.69 seconds)
I see the error is of python-3.8.
Is this reproduced always?
Can you please try:
diff --git a/tox.ini b/tox.ini
index f287ac97..da89313b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,6 +34,7 @@ setenv =
COVERAGE_DATA_FILE=build.out/.coverage.{basepython}
commands =
pytest \
+ --tb=long -v \
--cov-report=html:build.out/{envname}/coverage \
--cov-report=xml:build.out/{envname}/coverage.xml \
--html-report=build.out/{envname}/report/pytest-report.html \
from vhdl-style-guide.
Evening @alonbl ,
With --tb-long -v
added, the error message does not appear.
That is strange though.
--Jeremy
from vhdl-style-guide.
Hi @jeremiah-c-leary,
Just to make sure, without the verbose you can reproduce this 100% with python-3.10, correct?
And you can reproduce this only after the changes in this branch and not in master.
I reviewed the changes many times, I cannot understand what triggers this in this branch so it must be reproducible also in master.
It suggests that I missed some resource free/reuse between tests that cause conflict and exception, probably at setup or teardown.
Alon
from vhdl-style-guide.
Related Issues (20)
- PascalCase/camelCase and acronyms HOT 9
- Options for merging config files HOT 1
- Forcing single space when disabling alignment rules HOT 6
- record element is incorrectly recognized as type element HOT 3
- Comment tricks vsg into incorrect parsing state HOT 3
- Better diagnostics when local indent rules don't match default config HOT 4
- Whitespace rules should allow <= operator HOT 8
- Ignore Components for port rules HOT 4
- Function/Procedure name as optional in end statement HOT 6
- Regex case rule fails on port_map_002 HOT 3
- Unable to have a series of port, port map declarations, signal declarations all be aligned even across comments or white space HOT 9
- Add Pascal_Snake_Case to case checking rules HOT 3
- Python egg for version 3.25 is broken HOT 4
- Missing auto fix for signal_100, variable_100, type_100, etc HOT 2
- architecture_026 fixable does not work HOT 1
- Documentation states incorrect option defaults for multiline indent rules HOT 3
- Unknown reason for some words to be lowercase while other are not changed when running VSG HOT 1
- Extend rule: assert_001 and instantiation_001 HOT 2
- VSG crashes when called with "all_phases" to analyse a nested generate followed by another generate. HOT 5
- Extend concurrent_009 to comment in between multiline condition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vhdl-style-guide.