Comments (4)
It doesn't look like there's any specific way of indicating dev dependencies as with Node, so a [dev]
extra as implemented in fc8d339 seems like the appropriate approach.
It might be nice if we could have a second, distinct, Travis test build, which tries installing the non-dev dependencies and running a simple example script, but I worry that that's a slippery slope to lots of disorganized testing so I probably won't pursue it.
from chatexchange.
(Although if we did want to go down that road, I think it might just take something like this (docs):)
matrix:
include:
- install: 'pip install .'
- script: 'python examples/something.py'
include:
- install: 'pip install .[dev]'
- script: 'python -m pytest'
from chatexchange.
The build of fc8d339 failed on Travis. I am guessing there might be an issue with using extras with a non-editable installation of a local path:
(from .travis.yml, doesn't work, it thinks I want a packaged name ".[dev]")
pip install .[dev]
as opposed to calling
(works locally, as make install-dev-dependencies
)
pip install -e .[dev]
or
(well-documented usage)
pip install ChatExchange[dev]
from chatexchange.
I've filed a ticket about this behaviour at pypa/pip#1780, which should clear up whether this is a bug or expected.
from chatexchange.
Related Issues (20)
- Error when trying to call `Client.getme` HOT 3
- Upload Python3-compatible version to PyPI HOT 3
- Better documentation HOT 2
- Unable to log in properly HOT 1
- [Support] When running something using this CE engine in PyCharm, "failed to get `usr` cookie from Stack Exchange OpenID" HOT 4
- "Limit concurrent jobs" to 1 in Travis settings for this repo HOT 1
- Update PyPI package to latest version HOT 6
- 500 Internal Server Error HOT 1
- 500 Error when reading messages HOT 1
- SE is removing OpenID HOT 9
- make: *** [run-example] Error 1 HOT 3
- Incorrect epydoc tags in docstrings HOT 2
- Travis CI migration to travis-ci.com from travis-ci.org HOT 2
- Migrate CI testing to GitHub Actions HOT 1
- Did the format of the TOO_FAST_RE message change? HOT 1
- Posting to a frozen room should fail, but doesn't HOT 2
- Logout abandons pending queued messages
- Could we get a new version uploaded to PyPI? HOT 3
- chatexchange.browser.LoginError: failed to get `acct` cookie from Stack Exchange OpenID, check credentials provided for accuracy HOT 2
- examples/web_viewer.py is not working HOT 1
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 chatexchange.