-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No serverpy #324
No serverpy #324
Conversation
Also fix up the testing client to instantiate Website instead of Server
I tried serving the docs so I could review the docs:
|
It's weird that we still use argv to configure even though we aren't a cli anymore. I guess that gets ripped out after this lands. |
Yeah, it's currently ignored, though I guess it doesn't have to be - other modules take args from the cmdline. As long as we're also configurable from the environment and/or a config file, it's fine, I think. |
|
Replicable from the commandline. Do There's a hint in the fact that a simple |
Good find! |
Also, putting an absolute path as an arg to -w doesn't help either. |
Confirmed that |
|
|
IRC, btw. |
|
So it looks like |
My hunch is that this is somehow related to the fact that we have a |
That's inside of the |
Why is |
Because https://github.com/gittip/aspen-python/blob/master/aspen/configuration/__init__.py#L259:
|
Yeah, but the question is why the |
If I cd into |
We decided to take stop calling |
Calling chdir() was causing an issue serving the docs, and had the potential to cause many more. Let's just Not Do That.
We stopped calling chdir automatically as part of our inversion effort (we're a library, not a framework).
No two ways about it: if we're going to be "just a WSGI library" then we can't implement Socket.IO ourselves. Instead we'll have to figure out how to use gevent-socketio or similar. That rebuilding step is on the other side of the Great Purge of 2014.
This rips out network_address and network_engine and the rest of sockets.W
In docs and entrypoints.
Conflicts: aspen/__main__.py tests/test_sockets_transport.py
We've only had one ever since we removed the server in #324.
We've only had one ever since we removed the server in #324.
Fix #283 - remove server.py, fix code that relied on it, and remove execution.py also.