Code Monkey home page Code Monkey logo

Comments (10)

fscherf avatar fscherf commented on June 9, 2024

@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.

webknjaz avatar webknjaz commented on June 9, 2024

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.

webknjaz avatar webknjaz commented on June 9, 2024

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.

webknjaz avatar webknjaz commented on June 9, 2024

Wow, the fix is pretty easy: you try running non-installed versions of python in travis job.

from aiohttp-json-rpc.

fscherf avatar fscherf commented on June 9, 2024

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.

webknjaz avatar webknjaz commented on June 9, 2024

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.

fscherf avatar fscherf commented on June 9, 2024

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.

webknjaz avatar webknjaz commented on June 9, 2024

I'd add smth like alias release = bdist_wheel sdist upload to setup.cfg, but yes, Makefile might be better

from aiohttp-json-rpc.

webknjaz avatar webknjaz commented on June 9, 2024

Now you should be able to run make release-to-pypi or make dist wrapping some of your routines.

from aiohttp-json-rpc.

fscherf avatar fscherf commented on June 9, 2024

FTR: @webknjaz added a Makefile to his current PR.
Can i close this issue?

from aiohttp-json-rpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.