Comments (5)
I think this is related: Can't get setup_requires dependencies without talking to PyPI
from flask-restful.
Thanks for the research!
A while ago we setup the unit tests to run with python setup.py nosetests
, but it looks like this is causing problems with the setup_requires module. Maybe we can move the test dependencies to a Makefile instead.
The old issue was here
from flask-restful.
I pushed a tests branch that might fix this, but I'm unsure how you're building this without an Internet connection - I tried --download-cache, but it seems to want to check pypi to get version info. Can you try it out?
from flask-restful.
To test this, I should probably package Flask-RESTful as if it were
downloaded from Pypi. After checking out the tests
branch, should I
create a virtualenv called venv
, activate it, and call make release
or
something like that?
To install without a local internet connection, I'm using the commands
listed at
http://www.pip-installer.org/en/latest/cookbook.html#fast-local-installs
Specifically when installing the dependencies for my Flask app, I run:
pip install --no-index
--find-links=file:///path/to/dir-containing-Flask-RESTful-x.x.x.tar.gz/ -r
requirements.txt
Thanks for the help!
On Thu, Jun 20, 2013 at 2:37 AM, Kevin Burke [email protected]:
I pushed a tests branch that might fix this, but I'm unsure how you're
building this without an Internet connection - I tried --download-cache,
but it seems to want to check pypi to get version info. Can you try it out?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-19733335
.
from flask-restful.
Closing. This pull is pretty old and offline installation isn't a priority at the moment. If you have all the dependencies locally it's possible to move them into your virtualenv and call it a day.
If this is still an issue, please reopen and we'll take another look.
from flask-restful.
Related Issues (20)
- Potential memory leak in flask_restful.reqparse ??? HOT 1
- how to get request.files attribute after flask send_from_directory?
- Return custom error code HOT 1
- Swagger doc like FastAPI HOT 2
- Did not attempt to load JSON data because the request Content-Type was not 'application/json'. HOT 6
- Is expected behavior of flask_restful abort() correct ? HOT 1
- Question: optional/wildcard url parameter HOT 1
- Flask 2.3 Incompatibility: app.propagate_exceptions is depreciated HOT 1
- test_client.get() with query_string doesn't work HOT 1
- The app.propagate_exceptions will be deprecated in Flask 2.3
- Using reqparse.add_argument() with default location parameter to parse requests with Content-Type other than "application/json" raises an exception when using Werkzeug>=2.1.0 HOT 3
- @api.resource is used in blueprint that it is not working HOT 1
- test_redirect failure HOT 1
- sdist is missing `tox.ini`
- This is alive? HOT 1
- response header "Server' cannot modified
- Is flask-restful dead? HOT 2
- Questions about Copilot + Open Source Software Hierarchy
- Documentation out of date for compatible Python versions
- Flask-RESTful breaks with Flask 2.3 and newer 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 flask-restful.