Giter Club home page Giter Club logo

magic-wormhole-feedstock's Introduction

About magic-wormhole

Home: http://github.com/warner/magic-wormhole

Package license: MIT

Feedstock license: BSD 3-Clause

Summary: Get things from one computer to another, safely.

This package provides a library and a command-line tool named wormhole, which makes it possible to get arbitrary-sized files and directories (or short pieces of text) from one computer to another. The two endpoints are identified by using identical "wormhole codes": in general, the sending machine generates and displays the code, which must then be typed into the receiving machine.

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing magic-wormhole

Installing magic-wormhole from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, magic-wormhole can be installed with:

conda install magic-wormhole

It is possible to list all of the versions of magic-wormhole available on your platform with:

conda search magic-wormhole --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by CircleCI, AppVeyor and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating magic-wormhole-feedstock

If you would like to improve the magic-wormhole recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/magic-wormhole-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

magic-wormhole-feedstock's People

Contributors

beckermr avatar cj-wright avatar conda-forge-admin avatar conda-forge-curator[bot] avatar ericdill avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

magic-wormhole-feedstock's Issues

spake2 isn't imported on linux64

Issue:

Try successfully building the PR conda-forge/staged-recipes#17192 on linux_64_centos7.

Traceback (most recent call last):
2021-12-07T13:46:01.2318775Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/wormhole", line 6, in <module>
2021-12-07T13:46:01.2320929Z     from wormhole.cli.cli import wormhole
2021-12-07T13:46:01.2323820Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.10/site-packages/wormhole/__init__.py", line 2, in <module>
2021-12-07T13:46:01.2325985Z     from .wormhole import create, __version__
2021-12-07T13:46:01.2385819Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.10/site-packages/wormhole/wormhole.py", line 11, in <module>
2021-12-07T13:46:01.2388202Z     from ._boss import Boss
2021-12-07T13:46:01.2390766Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.10/site-packages/wormhole/_boss.py", line 15, in <module>
2021-12-07T13:46:01.2392289Z     from ._dilation.manager import Dilator
2021-12-07T13:46:01.2393829Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.10/site-packages/wormhole/_dilation/manager.py", line 22, in <module>
2021-12-07T13:46:01.2395075Z     from .._key import derive_key
2021-12-07T13:46:01.2396414Z   File "/home/conda/staged-recipes/build_artifacts/simplejson_1638884706860/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.10/site-packages/wormhole/_key.py", line 12, in <module>
2021-12-07T13:46:01.2397315Z     from spake2 import SPAKE2_Symmetric
2021-12-07T13:46:01.2397885Z ModuleNotFoundError: No module named 'spake2'

solution is spake2 0.8 py_3 instead of spake2 0.8.


Environment (conda list):

$ conda list
The following NEW packages will be INSTALLED:
   _libgcc_mutex:                        0.1-conda_forge           conda-forge
2021-12-07T13:45:43.5152215Z     _openmp_mutex:                        4.5-1_gnu                 conda-forge
2021-12-07T13:45:43.5153088Z     _sysroot_linux-64_curr_repodata_hack: 3-h5bd9786_13             conda-forge
2021-12-07T13:45:43.5154569Z     appdirs:                              1.4.4-pyh9f0ad1d_0        conda-forge
2021-12-07T13:45:43.5155347Z     attrs:                                21.2.0-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5156316Z     autobahn:                             21.11.1-pyhd8ed1ab_0      conda-forge
2021-12-07T13:45:43.5157204Z     automat:                              20.2.0-py_0               conda-forge
2021-12-07T13:45:43.5158020Z     bcrypt:                               3.2.0-py310h6acc77f_2     conda-forge
2021-12-07T13:45:43.5158798Z     bzip2:                                1.0.8-h7f98852_4          conda-forge
2021-12-07T13:45:43.5159607Z     ca-certificates:                      2021.10.8-ha878542_0      conda-forge
2021-12-07T13:45:43.5160404Z     cffi:                                 1.15.0-py310h0fdd8cc_0    conda-forge
2021-12-07T13:45:43.5161183Z     click:                                8.0.3-py310hff52083_1     conda-forge
2021-12-07T13:45:43.5161974Z     colorama:                             0.4.4-pyh9f0ad1d_0        conda-forge
2021-12-07T13:45:43.5162796Z     constantly:                           15.1.0-py_0               conda-forge
2021-12-07T13:45:43.5163871Z     cryptography:                         36.0.0-py310h685ca39_0    conda-forge
2021-12-07T13:45:43.5166868Z     hkdf:                                 0.0.3-py_2                conda-forge
2021-12-07T13:45:43.5167818Z     humanize:                             3.13.1-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5168723Z     hyperlink:                            21.0.0-pyhd3deb0d_0       conda-forge
2021-12-07T13:45:43.5169430Z     idna:                                 3.1-pyhd3deb0d_0          conda-forge
2021-12-07T13:45:43.5170352Z     incremental:                          21.3.0-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5171079Z     kernel-headers_linux-64:              3.10.0-h4a8ded7_13        conda-forge
2021-12-07T13:45:43.5171794Z     ld_impl_linux-64:                     2.36.1-hea4e1c9_2         conda-forge
2021-12-07T13:45:43.5172516Z     libffi:                               3.4.2-h7f98852_5          conda-forge
2021-12-07T13:45:43.5173222Z     libgcc-ng:                            11.2.0-h1d223b6_11        conda-forge
2021-12-07T13:45:43.5173943Z     libgomp:                              11.2.0-h1d223b6_11        conda-forge
2021-12-07T13:45:43.5174853Z     libnsl:                               2.0.0-h7f98852_0          conda-forge
2021-12-07T13:45:43.5175640Z     libsodium:                            1.0.18-h36c2ea0_1         conda-forge
2021-12-07T13:45:43.5176439Z     libuuid:                              2.32.1-h7f98852_1000      conda-forge
2021-12-07T13:45:43.5177224Z     libzlib:                              1.2.11-h36c2ea0_1013      conda-forge
2021-12-07T13:45:43.5178020Z     magic-wormhole:                       0.12.0-pyh9f0ad1d_0       conda-forge
2021-12-07T13:45:43.5178824Z     ncurses:                              6.2-h58526e2_4            conda-forge
2021-12-07T13:45:43.5179604Z     openssl:                              1.1.1l-h7f98852_0         conda-forge
2021-12-07T13:45:43.5180391Z     pip:                                  21.3.1-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5181163Z     pyasn1:                               0.4.8-py_0                conda-forge
2021-12-07T13:45:43.5181990Z     pyasn1-modules:                       0.2.7-py_0                conda-forge
2021-12-07T13:45:43.5182915Z     pycparser:                            2.21-pyhd8ed1ab_0         conda-forge
2021-12-07T13:45:43.5183698Z     pynacl:                               1.4.0-py310h6acc77f_3     conda-forge
2021-12-07T13:45:43.5184489Z     pyopenssl:                            21.0.0-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5185278Z     python:                               3.10.0-h62f1059_3_cpython conda-forge
2021-12-07T13:45:43.5186074Z     python_abi:                           3.10-2_cp310              conda-forge
2021-12-07T13:45:43.5186871Z     readline:                             8.1-h46c0cb4_0            conda-forge
2021-12-07T13:45:43.5187653Z     service_identity:                     18.1.0-py_0               conda-forge
2021-12-07T13:45:43.5188453Z     setuptools:                           59.4.0-py310hff52083_0    conda-forge
2021-12-07T13:45:43.5189235Z     six:                                  1.16.0-pyh6c4a22f_0       conda-forge
2021-12-07T13:45:43.5190024Z     spake2:                               0.8-0                     conda-forge
2021-12-07T13:45:43.5190817Z     sqlite:                               3.37.0-h9cd32fc_0         conda-forge
2021-12-07T13:45:43.5191599Z     sysroot_linux-64:                     2.17-h4a8ded7_13          conda-forge
2021-12-07T13:45:43.5192400Z     tk:                                   8.6.11-h27826a3_1         conda-forge
2021-12-07T13:45:43.5193278Z     tqdm:                                 4.62.3-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5193994Z     twisted:                              21.7.0-py310h6acc77f_1    conda-forge
2021-12-07T13:45:43.5194706Z     txaio:                                21.2.1-pyhd8ed1ab_0       conda-forge
2021-12-07T13:45:43.5195410Z     typing-extensions:                    4.0.1-hd8ed1ab_0          conda-forge
2021-12-07T13:45:43.5196361Z     typing_extensions:                    4.0.1-pyha770c72_0        conda-forge
2021-12-07T13:45:43.5197357Z     tzdata:                               2021e-he74cb21_0          conda-forge
2021-12-07T13:45:43.5198235Z     wheel:                                0.37.0-pyhd8ed1ab_1       conda-forge
2021-12-07T13:45:43.5199072Z     xz:                                   5.2.5-h516909a_1          conda-forge
2021-12-07T13:45:43.5200043Z     zlib:                                 1.2.11-h36c2ea0_1013      conda-forge
2021-12-07T13:45:43.5200907Z     zope.interface:                       5.4.0-py310h6acc77f_1     conda-forge

Details about conda and system ( conda info ):
$ conda info
 active environment : base
2021-12-07T13:44:04.1702072Z     active env location : /opt/conda
2021-12-07T13:44:04.1702499Z             shell level : 1
2021-12-07T13:44:04.1702902Z        user config file : /home/conda/.condarc
2021-12-07T13:44:04.1703356Z  populated config files : /opt/conda/.condarc
2021-12-07T13:44:04.1703895Z                           /home/conda/.condarc
2021-12-07T13:44:04.1704303Z           conda version : 4.11.0
2021-12-07T13:44:04.1705362Z     conda-build version : 3.21.7
2021-12-07T13:44:04.1705799Z          python version : 3.8.12.final.0
2021-12-07T13:44:04.1706278Z        virtual packages : __linux=5.11.0=0
2021-12-07T13:44:04.1706684Z                           __glibc=2.17=0
2021-12-07T13:44:04.1707131Z                           __unix=0=0
2021-12-07T13:44:04.1707575Z                           __archspec=1=x86_64
2021-12-07T13:44:04.1707999Z        base environment : /opt/conda  (writable)
2021-12-07T13:44:04.1708439Z       conda av data dir : /opt/conda/etc/conda
2021-12-07T13:44:04.1708995Z   conda av metadata url : None
2021-12-07T13:44:04.1709738Z            channel URLs : https://conda.anaconda.org/conda-forge/linux-64
2021-12-07T13:44:04.1710479Z                           https://conda.anaconda.org/conda-forge/noarch
2021-12-07T13:44:04.1711039Z           package cache : /opt/conda/pkgs
2021-12-07T13:44:04.1711457Z                           /home/conda/.conda/pkgs
2021-12-07T13:44:04.1711929Z        envs directories : /opt/conda/envs
2021-12-07T13:44:04.1712351Z                           /home/conda/.conda/envs
2021-12-07T13:44:04.1712969Z                platform : linux-64
2021-12-07T13:44:04.1713818Z              user-agent : conda/4.11.0 requests/2.26.0 CPython/3.8.12 Linux/5.11.0-1021-azure centos/7.9.2009 glibc/2.17
2021-12-07T13:44:04.1714900Z                 UID:GID : 1001:1001
2021-12-07T13:44:04.1715391Z              netrc file : None
2021-12-07T13:44:04.1715805Z            offline mode : False

Incompatible packages on Windows

Attempting to create an environment with magic-wormhole on Windows, I get a pretty unhelpful list of incompatibility errors:

$ conda create -n wormhole magic-wormhole --override-channels -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Package tqdm conflicts for:
magic-wormhole -> tqdm[version='>=4.13.0']
Package autobahn conflicts for:
magic-wormhole -> autobahn[version='>=0.14.1']
Package pynacl conflicts for:
magic-wormhole -> pynacl
Package python conflicts for:
magic-wormhole -> python
Package service_identity conflicts for:
magic-wormhole -> service_identity
Package six conflicts for:
magic-wormhole -> six
Package twisted conflicts for:
magic-wormhole -> twisted[version='>=17.5.0']
Package automat conflicts for:
magic-wormhole -> automat
Package humanize conflicts for:
magic-wormhole -> humanize
Package attrs conflicts for:
magic-wormhole -> attrs[version='>=16.3.0']
Package spake2 conflicts for:
magic-wormhole -> spake2==0.8
Package click conflicts for:
magic-wormhole -> click
Package hkdf conflicts for:
magic-wormhole -> hkdf

I've looked through all of these dependencies, and I don't see that any of them are missing (using conda search). I tried specifying both python=3.6 and python=2.7, but got a similar message. This environment is created just fine using the same command on MacOS.

Possibly need to add another dependency

Issue:
after I conda install magic-wormhole from conda-forge, I try to use it by running the wormhole executable and get a user warning that I should install service_identity:

:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named 'service_identity''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.

After conda install service_identity, this warning goes away.


Environment (conda list):

$ conda list
#
# Name                    Version                   Build  Channel
asn1crypto                0.24.0                   py36_0    defaults
attrs                     18.1.0                     py_1    conda-forge
autobahn                  18.7.1                     py_0    conda-forge
automat                   0.7.0                    py36_0    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
certifi                   2018.4.16                py36_0    conda-forge
cffi                      1.11.5           py36h9745a5d_0    defaults
chardet                   3.0.4            py36h0f667ec_1    defaults
click                     6.7                        py_1    conda-forge
conda                     4.5.9                    py36_0    conda-forge
conda-env                 2.6.0                h36134e3_1    defaults
constantly                15.1.0                     py_0    conda-forge
cryptography              2.2.2            py36h14c3975_0    defaults
hkdf                      0.0.3                    py36_0    conda-forge
humanize                  0.5.1                      py_1    conda-forge
hyperlink                 17.3.1                     py_0    conda-forge
idna                      2.6              py36h82fb2a8_1    defaults
incremental               17.5.0                     py_0    conda-forge
libedit                   3.1.20170329         h6b74fdf_2    defaults
libffi                    3.2.1                hd88cf55_4    defaults
libgcc-ng                 7.2.0                hdf63c60_3    defaults
libstdcxx-ng              7.2.0                hdf63c60_3    defaults
magic-wormhole            0.10.5                     py_0    conda-forge
ncurses                   6.1                  hf484d3e_0    defaults
openssl                   1.0.2o               h470a237_1    conda-forge
pip                       10.0.1                   py36_0    defaults
pycosat                   0.6.3            py36h0a5515d_0    defaults
pycparser                 2.18             py36hf9f622e_1    defaults
pynacl                    1.1.2                    py36_0    conda-forge
pyopenssl                 18.0.0                   py36_0    defaults
pysocks                   1.6.8                    py36_0    defaults
python                    3.6.5                hc3d631a_2    defaults
readline                  7.0                  ha6073c6_4    defaults
requests                  2.18.4           py36he2e5f8d_1    defaults
ruamel_yaml               0.15.37          py36h14c3975_2    defaults
setuptools                39.2.0                   py36_0    defaults
six                       1.11.0           py36h372c433_1    defaults
spake2                    0.8                           2    conda-forge
sqlite                    3.23.1               he433501_0    defaults
tk                        8.6.7                hc745277_3    defaults
tqdm                      4.24.0                     py_0    conda-forge
twisted                   17.5.0                   py36_0    anaconda
txaio                     18.7.1                     py_0    conda-forge
urllib3                   1.22             py36hbe7ace6_0    defaults
wheel                     0.31.1                   py36_0    defaults
xz                        5.2.4                h14c3975_4    defaults
yaml                      0.1.7                had09818_2    defaults
zlib                      1.2.11               ha838bed_2    defaults
zope.interface            4.5.0            py36h470a237_0    conda-forge


Details about conda and system ( conda info ):
$ conda info

     active environment : None
       user config file : /home/eric/.condarc
 populated config files : /home/eric/.condarc
          conda version : 4.5.9
    conda-build version : not installed
         python version : 3.6.5.final.0
       base environment : /home/eric/miniconda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/anaconda/linux-64
                          https://conda.anaconda.org/anaconda/noarch
          package cache : /home/eric/miniconda/pkgs
                          /home/eric/.conda/pkgs
       envs directories : /home/eric/miniconda/envs
                          /home/eric/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.9 requests/2.18.4 CPython/3.6.5 Linux/4.15.0-29-generic ubuntu/18.04 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

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.