Skip to content
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

pyln minor fixes, move bolts to pyln.spec.bolt* #3777

Merged
merged 11 commits into from
Jun 25, 2020

Commits on Jun 24, 2020

  1. pyln.proto: fix package list in setup.py

    Remove non-existant pyln.proto.bolts.  bolts will have separate setup.py, so we
    can rev the versions individually.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    dabcddc View commit details
    Browse the repository at this point in the history
  2. pyln.spec.bolt*: make these separate packages, so versions can change…

    … indep.
    
    They're almost entirely autogenerated, and we use symlinks into the
    top directory to reduce replication.
    
    They can't be under pyln.spec.message, because a package can't also
    be a namespace.
    
    We also add fulltext and desc fields, and exclude our "gen" files from
    flake8, since the spec quotes contain weird whitespace.
    
    Changelog-Added: Python: pyln.spec.bolt{1,2,4,7} packages.
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    a1a40cd View commit details
    Browse the repository at this point in the history
  3. pyln.proto.message: more mypy fixes.

    This includes some real bugfixes, since it noticed some places we were
    being loose with different types!
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    42bae60 View commit details
    Browse the repository at this point in the history
  4. pyln.proto.message, pyln.proto.spec*: do magic to expose mypy types.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    833a51c View commit details
    Browse the repository at this point in the history
  5. pyln.proto.message: remove incorrect fundamental types now spec update.

    See lightning/bolts@9e8e29a
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    c2bd833 View commit details
    Browse the repository at this point in the history
  6. pyln.proto: fix test-release target

    1. version was 0.0.2 in setup.py, which means we didn't get the dist/ files we expected.
    2. We need 'bdist_wheel' to make the .whl file.
    3. --no-site-packaged was apparently removed in 0.20.0, and was default long before that.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    7bc3e8b View commit details
    Browse the repository at this point in the history
  7. pyln.proto: bump version to 0.8.3.

    Changelog-Changed: pyln.proto version now 0.8.3 to indicate pyln.proto.message
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    7b12ed5 View commit details
    Browse the repository at this point in the history
  8. pyln.spec.bolt*: test-release and prod-release targets, fix requireme…

    …nts.txt
    
    We depend on packages, not modules within them.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    b5c7c50 View commit details
    Browse the repository at this point in the history
  9. pyln.spec.bolt*: unify setups.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    1b6db46 View commit details
    Browse the repository at this point in the history
  10. pyln.spec.bolt*: change version numbering to include specific csv sub…

    …version.
    
    Now they look like 1.0.1.137, so you can explicitly depend on a csv change
    (without caring about a textual change).
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    be9729e View commit details
    Browse the repository at this point in the history
  11. pyln-spec: add .gitignore file for build detritus.

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    39a2a9d View commit details
    Browse the repository at this point in the history