Comments (10)
@webknjaz nice idea but i think it's a little bit over kill for my "release process" because all i have to do atm is create a release tag and run "./setup.py sdist upload" and i am pretty happy with that because this is code i write for my company and it runs very critical infrastructure and i want to have full controll over the development and relaese process.
btw: I had some trouble to get my test suite to run on travis. I didn't invest very much time on this problem because i use my company's jenkins server for ci and there it works.
from aiohttp-json-rpc.
I think I could fix Travis and bits of packaging since we'll likely continue using it.
Btw, could you plz also upload wheels?
P.S. twine
is the new official way of building and uploading distributions
from aiohttp-json-rpc.
P.P.S. setuptools_scm
has this mode when it generates version.py
(or whatever you call it) when you run setup.py sdist
(or so), this way you'd not need to make additional commit editing version string in setup.py
, but you'd would still have version in python code.
from aiohttp-json-rpc.
Wow, the fix is pretty easy: you try running non-installed versions of python in travis job.
from aiohttp-json-rpc.
Thanks for your travis patches, i review them atm but i don't see any reason to not merge them (or most of them).
I don't use twine at the moment but you are right, the official pypi tool recommendations page recommends twine too, so i will take a look at it.
I am still not sure if i want auto-magic in the deployment process. And giving my login credentials to travis.ci (to be fair: encrypted, but hmmmmmm...) does'nt seem right to me while the relaeses are very simple to do and don't happen so often
from aiohttp-json-rpc.
I see, still if you have lots of packages to maintain you'll eventually start thinking of automation since you don't always want to even do smth locally, but cut a release from github directly :)
from aiohttp-json-rpc.
Yes you are absolutly right but atm i maintain like 5 packages for my company with 2 releases in a month tops :) thats totally manageable and it's on company time :D
Also we depend with critical infrastructure on a stable release process, so if it is that simple to do it on my own i dont want fancy tools which are not fully under my control.
You mentioned you want me to do upload wheels. If you want you can add a Makefile with a release stage which runs all {twine,./setup.py} calls you want me to run on release days.
from aiohttp-json-rpc.
I'd add smth like alias release = bdist_wheel sdist upload
to setup.cfg
, but yes, Makefile might be better
from aiohttp-json-rpc.
Now you should be able to run make release-to-pypi
or make dist
wrapping some of your routines.
from aiohttp-json-rpc.
FTR: @webknjaz added a Makefile to his current PR.
Can i close this issue?
from aiohttp-json-rpc.
Related Issues (20)
- Can't use an alternate 'loop' and client seems to constrained to web-sockets only HOT 9
- Key Error trying to process implementation defined server errors HOT 4
- Can't cancel coroutine/future using JSON-RPC client HOT 5
- Enable cron builds in Travis CI HOT 8
- Question: rpc.py line 256 HOT 5
- builtin funtions and C functions can not be used as RPC methods HOT 6
- Poor connection maintenance and exception strategy in `JsonRpcClient` HOT 1
- aiohttp 3.5 HOT 1
- Wrong examples HOT 2
- Getting 'Invalid response status' on all calls HOT 3
- Cannot handle more than one positional argument HOT 4
- Handle batch commands HOT 1
- POST requests implementation HOT 1
- Allow SSL context to be passed to JsonRpcClient.connect() HOT 2
- randomly InvalidStateError HOT 2
- PasswdAuthBackend: AttributeError: 'function' object has no attribute 'method' HOT 5
- concurrent.futures._base.TimeoutError HOT 4
- Handle_websocket_request method in JsonRpc class HOT 4
- ValueError: list.remove(x): x not in list ib rpc.py modle HOT 3
- concurrent.futures._base.TimeoutError occuring Randomly HOT 9
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 aiohttp-json-rpc.