StackStorm / StackStorm/st2

Make st2actions and st2tests packages available on PyPi

Open
#2,574 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

My current development workflow is basically code in PyCharm, rsync to my stackstorm host, and test there. (There's probably a better workflow using st2workroom or something that I haven't tried.) But anyway, it'd be nice to be able to write (and run) my tests locally for development. But I can't easily install these dependencies.

Workaround: Build st2tests From Source

git clone https://github.com/StackStorm/st2
cd st2/st2tests
source ~/.virtualenvs/my-awesome-new-pack
python setup.py build
python setup.py install

Issue Building st2actions from source on Mac OS X:
Collecting pyinotify<=0.10,>=0.9.5 (from -r requirements.txt (line 13))
  Downloading pyinotify-0.9.6.tar.gz (60kB)
    100% |████████████████████████████████| 61kB 8.6MB/s
    Complete output from command python setup.py egg_info:
    inotify is not available on macosx-10.10-intel

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-TfxaiK/pyinotify/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the st2tests setup.py and the st2actions packaging requirements, then compare how each package is currently built from the repository. The work is complete when both packages are published to PyPI and can be installed for local development without requiring a source checkout or stack-specific host.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, developer-experience, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.