Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
53 views

I have a project with tox configuration for testing, with different versions of Python and Django. With the move from tox 3 to tox 4, I included the configuration as a legacy ini in my pyproject.toml ,...
1 vote
1 answer
146 views

AttributeError: module 'py' has no attribute 'io' Steps: clone Pytest git clone https://github.com/pytest-dev/pytest.git Run tox: tox Result: AttributeError: module 'py' has no attribute 'io' ...
Irina's user avatar
  • 1,419
0 votes
0 answers
138 views

When I invoke my Python package testing in the usual way, via Tox, it's failing: $ python -I -m tox run -e py310-lin py310-lin: install_deps> python -I -m pip install pytest pytest-cov pytest-xdist ...
David Banas's user avatar
  • 2,058
0 votes
0 answers
150 views

I'm using tox and wonder what is the intended way to build my package for distribution. I see that tox is building the package as part of the normal execution. It even provides a dedicated pkgenv ...
0 votes
0 answers
124 views

I am trying to use tox with a project where some of the requirements need torch to be installed before their installation. To solve this, I tried adding torch as a build requirement. A simplified ...
Jonas's user avatar
  • 3
0 votes
0 answers
89 views

I am using cython to build a module for a library. When I install the package locally, i.e., pip install . I can perfectly import and run the module, however I cannot do that in tox environments. ...
0 votes
1 answer
49 views

Pyspark is installed using pip install in a virtual environment. On the basis of the tox documentation, setenv is placed under the `[testenv]' section. Here is the code that I got in the tox.ini file ...
-1 votes
1 answer
84 views

Here is my workflow: I have a requirements.txt file that includes tox and many other packages. Run: python3 -m venv global_env source global_env/bin/activate pip install -r requirements I ...
0 votes
1 answer
64 views

I have a package with the current structure: my_package |- pyproject.toml |- poetry.lock |- tox.ini |- my_package | |- __init__.py | |- my_package.py |- tests |- ...
1 vote
0 answers
121 views

I have an issue with pycharm and tox. When im running tox thru pycharm terminal by 'tox', all tests are start running but if i want to use ctrl+shift+R(run button in pycharm), i have an error: ...
0 votes
1 answer
232 views

I'm using tox to run unit tests with pytest. When I run the tests with tox, it runs the tests and shows the tree of my src directory but prints CoverageWarning: No data was collected. (no-data-...
0 votes
1 answer
428 views

My code saves and analyzes data in NetCDF4 format. I have no problem whatsoever with the analysis. However, when I run unit tests in tox I get a ton of HDF and OS errors, e.g.: https://github.com/...
matteo's user avatar
  • 329
1 vote
1 answer
177 views

We implemented unit tests for the Pyspark scenarios. But as tox creates the runtime environment and installs the required packages, every time I run tox, it has to install pyspark which takes around 3 ...
1 vote
0 answers
96 views

I am trying to run tox on a module. Consider the following python package: foo ├── tox.ini ├── setup.cfg │ tests │ └── test_bar.py └── src ├── data │ └── data.csv ├── __init__.py ...
BdB's user avatar
  • 503
0 votes
1 answer
1k views

I'm baffled by differences in coverage behavior for different files in my project and hope someone will please suggest how to debug this more effectively than I am doing now. This is basically the ...

15 30 50 per page
1
2 3 4 5
...
37

AltStyle によって変換されたページ (->オリジナル) /