Comments (6)
I tried with 0.27.1 and one of the original errors (Unknown directive type: 'currentmodule'
) is gone.
I needed to work around the other one, as I need to rename the src
directory before the builds and rename it back, otherwise I run into some weird errors.
So I had to put __about__.py
back into src/libtmux/
and now the tests succeed. I could even re-enable the checks I had to disable a while ago:
IGNORED_TESTS="test_capture_pane"
IGNORED_TESTS="${IGNORED_TESTS} or test_capture_pane_start"
IGNORED_TESTS="${IGNORED_TESTS} or test_function_times_out"
IGNORED_TESTS="${IGNORED_TESTS} or test_function_times_out_no_rise"
IGNORED_TESTS="${IGNORED_TESTS} or test_function_times_out_no_raise_assert"
IGNORED_TESTS="${IGNORED_TESTS} or test_select_window"
IGNORED_TESTS="${IGNORED_TESTS} or test_new_window_with_environment[environment0]"
IGNORED_TESTS="${IGNORED_TESTS} or test_new_window_with_environment[environment1]"
IGNORED_TESTS="${IGNORED_TESTS} or test_split_window_with_environment[environment0]"
IGNORED_TESTS="${IGNORED_TESTS} or test_split_window_with_environment[environment1]"
%pytest -k "not (${IGNORED_TESTS})"
Hence: Closing this issue! Thanks for your help!
from libtmux.
@johanneskastl Thank you for this!
How is the package being checked out? How are it and its dependencies being installed?
e.g. If it's from git source, does poetry install --with=test,coverage,lint
work?
from libtmux.
The package is built in a offline environment, aka all dependencies are being prepared beforehand. This means all of the other packages are being installed via openSUSE's RPM package manager.
libtmux itself is being prepared from a PyPI tarball, which worked up until now. I can test and use the GitHub tarball, to see if this solves the issue.
from libtmux.
MIGRATION
:
I will make a fix for this and report when the release is pushed.
poetry build
cd dist/
tar xvf libtmux-0.27.0.tar.gz
ls libtmux-0.27.0/
CHANGES LICENSE PKG-INFO README.md conftest.py docs pyproject.toml src tests
__about__.py
:
I'm confident this exists:
ls libtmux-0.27.0/src/libtmux
__about__.py __init__.py _compat.py _internal _vendor common.py exc.py formats.py neo.py pane.py py.typed pytest_plugin.py server.py session.py test.py window.py
currentmodule
directive
Unknown directive type: 'currentmodule' [myst.directive_unknown].
This should be fine to ignore.
from libtmux.
@johanneskastl If you try v0.27.1, is anything different?
from libtmux.
@johanneskastl Thank you for the detailed follow up!
from libtmux.
Related Issues (20)
- Tests failing on ppc64le HOT 2
- Tests failing on aarch64 HOT 2
- Tests failing on armv7l HOT 3
- Intermittent errors with tests on x86_64 / amd64 HOT 7
- Intermittent errors with tests on i586 (32bit)
- Is there any way to connect to a tmux session on a remote machine? HOT 1
- Intermittent / flaky test test_capture_pane
- select_pane not working correctly with multiple sessions HOT 2
- Drop Python 3.7 HOT 1
- `build(build-system)`: Remove `setuptools` build dependency
- unknown pytest option --doctest-docutils-modules HOT 7
- Unable to access server via WSGI HOT 4
- `TmuxObjectDoesNotExist` when creating `libtmux.Server().new_session(attach=True)` HOT 13
- Remove assert from __eq__ for windows HOT 5
- Tests: Snapshots
- Options: Typed structures
- Environment: Add to `new-window`, `split-window`, `respawn-window`, `respawn-pane`
- No implicit exports from __init__.py HOT 1
- `pane.send_keys()` doesn't send cmd to correct pane when cmd has a `-t` flag HOT 3
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 libtmux.