Skip to content

Commit

Permalink
additional test data
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Sep 3, 2018
1 parent f873ced commit b81d430
Show file tree
Hide file tree
Showing 418 changed files with 193,216 additions and 61 deletions.
4 changes: 4 additions & 0 deletions test_data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
from __future__ import absolute_import, division, print_function, unicode_literals
76 changes: 72 additions & 4 deletions test_data/env_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,74 @@
- https://github.com/scrapy/scrapy.git
- https://github.com/tox-dev/tox.git
- https://github.com/twilio/twilio-python.git
conda create -y -p ./tenv python=2 numpy h5py nomkl lxml
conda activate ./tenv
git clone https://github.com/frejanordsiek/hdf5storage.git && pushd hdf5storage && git checkout 0.1.15 && pip install . --no-binary :all: && popd && rm -rf hdf5storage
git clone https://github.com/cherrypy/cherrypy.git && pushd cherrypy && git checkout v17.2.0 && pip install . --no-binary :all: && popd && rm -rf cherrypy
git clone https://github.com/dask/dask.git && pushd dask && git checkout 0.18.2 && pip install . --no-binary :all: && popd && rm -rf dask
git clone https://github.com/rdegges/django-twilio.git && pushd django-twilio && git checkout 0.9.2 && pip install . --no-binary :all: && popd && rm -rf django-twilio
git clone https://github.com/jaraco/keyring.git && pushd keyring && git checkout 13.2.1 && pip install . --no-binary :all: && popd && rm -rf keyring
git clone https://github.com/scrapy/scrapy.git && pushd scrapy && git checkout 1.5.1 && pip install . --no-binary :all: && popd && rm -rf scrapy
git clone https://github.com/tox-dev/tox.git && pushd tox && git checkout 3.2.1 && pip install . --no-binary :all: && popd && rm -rf tox
git clone https://github.com/twilio/twilio-python.git && pushd twilio-python && git checkout 6.16.1 && pip install . --no-binary :all: && popd && rm -rf twilio-python
conda deactivate
conda create -y -p ./tenv python=2 numpy h5py nomkl lxml
./tenv/bin/pip install --no-binary :all: twilio==6.16.1
./tenv/bin/pip install --no-binary :all: hdf5storage==0.1.15
./tenv/bin/pip install --no-binary :all: cherrypy==17.2.0
./tenv/bin/pip install --no-binary :all: dask==0.18.2
./tenv/bin/pip install --no-binary :all: django-twilio==0.9.2
./tenv/bin/pip install --no-binary :all: keyring==13.2.1
./tenv/bin/pip install --no-binary :all: scrapy==1.5.1
./tenv/bin/pip install --no-binary :all: tox==3.2.1
./tenv/bin/pip install --no-binary :all: backports.weakref
./tenv/bin/pip install --no-binary :all: backports.pdb
./tenv/bin/pip install --no-binary :all: backports.shutil_which
mkdir -p ./py27-osx-no-binary/lib/python2.7
mv ./tenv/lib/python2.7/site-packages ./py27-osx-no-binary/lib/python2.7/
mv ./tenv/conda-meta ./py27-osx-no-binary/
rm -rf ./tenv
find ./py27-osx-no-binary \( -name \*.py -o -name \*.py[cod] -o -name __pycache__ \) -delete
find ./py27-osx-no-binary \( -name \*.so -o -name \*.h -o -name \*.c -o -name \*.mo -o -name \*.po -o -name \*.cfg \) -delete
find ./py27-osx-no-binary \( -name \*.pxd -o -name \*.dat -o -name \*.pem -o -name \*.rng -o -name \*.xsl \) -delete
find ./py27-osx-no-binary -type d \( -name django -o -name zoneinfo -o -name twisted -o -name cherrypy -o -name scrapy -o -name numpy \) | xargs rm -rf
find ./py27-osx-no-binary -type d \( -name setuptools -o -name lxml -o -name virtualenv_support -o -name pip -o -name enum \) | xargs rm -rf
# find ./py27-osx-no-binary \( -name SOURCES.txt \) -delete
find ./py27-osx-no-binary -type d | gtac | xargs rmdir || true
conda create -y -p ./tenv python=3.6 numpy h5py nomkl lxml
./tenv/bin/pip install twilio==6.16.1
./tenv/bin/pip install hdf5storage==0.1.15
./tenv/bin/pip install cherrypy==17.2.0
./tenv/bin/pip install dask==0.18.2
./tenv/bin/pip install django-twilio==0.9.2
./tenv/bin/pip install keyring==13.2.1
./tenv/bin/pip install scrapy==1.5.1
./tenv/bin/pip install tox==3.2.1
mkdir -p ./py36-osx-whl/lib/python3.6
mv ./tenv/lib/python3.6/site-packages ./py36-osx-whl/lib/python3.6/
mv ./tenv/conda-meta ./py36-osx-whl/
rm -rf ./tenv
find ./py36-osx-whl \( -name \*.py -o -name \*.py[cod] -o -name __pycache__ \) -delete
find ./py36-osx-whl \( -name \*.so -o -name \*.h -o -name \*.c -o -name \*.mo -o -name \*.po -o -name \*.cfg \) -delete
find ./py36-osx-whl \( -name \*.pxd -o -name \*.dat -o -name \*.pem -o -name \*.rng -o -name \*.xsl \) -delete
find ./py36-osx-whl -type d \( -name django -o -name zoneinfo -o -name twisted -o -name cherrypy -o -name scrapy -o -name numpy \) | xargs rm -rf
find ./py36-osx-whl -type d \( -name setuptools -o -name lxml -o -name virtualenv_support -o -name pip -o -name enum \) | xargs rm -rf
find ./py36-osx-whl -type d | gtac | xargs rmdir || true
"""

import os
Expand All @@ -24,10 +92,10 @@
PATH_TEST_ENV_3 = os.path.join(HERE, 'envpy37win')
PATH_TEST_ENV_4 = os.path.join(HERE, 'envpy27win_whl')

METADATA_241_PATH = os.path.join(HERE, 'metadata', 'pep241', 'PKG-INFO')
METADATA_314_PATH = os.path.join(HERE, 'metadata', 'pep314', 'PKG-INFO')
METADATA_345_PATH = os.path.join(HERE, 'metadata', 'pep345', 'PKG-INFO')
METADATA_566_PATH = os.path.join(HERE, 'metadata', 'pep566', 'PKG-INFO')
METADATA_241_PATH = os.path.join(HERE, 'pep241', 'PKG-INFO')
METADATA_314_PATH = os.path.join(HERE, 'pep314', 'PKG-INFO')
METADATA_345_PATH = os.path.join(HERE, 'pep345', 'PKG-INFO')
METADATA_566_PATH = os.path.join(HERE, 'pep566', 'PKG-INFO')

METADATA_VERSION_PATHS = (METADATA_241_PATH, METADATA_314_PATH,
METADATA_345_PATH, METADATA_566_PATH)
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"build": "openblas",
"build_number": 7,
"channel": "https://repo.anaconda.com/pkgs/main/osx-64",
"constrains": [],
"depends": [],
"extracted_package_dir": "/Users/kfranz/continuum/conda/devenv/pkgs/blas-1.0-openblas",
"features": "",
"files": [],
"fn": "blas-1.0-openblas.tar.bz2",
"link": {
"source": "/Users/kfranz/continuum/conda/devenv/pkgs/blas-1.0-openblas",
"type": 1
},
"md5": "38fd73cba341639c45d8c747b08c9cc1",
"name": "blas",
"package_tarball_full_path": "/Users/kfranz/continuum/conda/devenv/pkgs/blas-1.0-openblas.tar.bz2",
"paths_data": {
"paths": [],
"paths_version": 1
},
"requested_spec": "None",
"size": 49130,
"subdir": "osx-64",
"timestamp": 1528225884020,
"track_features": "nomkl",
"url": "https://repo.anaconda.com/pkgs/main/osx-64/blas-1.0-openblas.tar.bz2",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": "0",
"build_number": 0,
"channel": "https://repo.anaconda.com/pkgs/main/osx-64",
"constrains": [],
"depends": [],
"extracted_package_dir": "/Users/kfranz/continuum/conda/devenv/pkgs/ca-certificates-2018.03.07-0",
"features": "",
"files": [
"ssl/cacert.pem",
"ssl/cert.pem"
],
"fn": "ca-certificates-2018.03.07-0.tar.bz2",
"license": "ISC",
"link": {
"source": "/Users/kfranz/continuum/conda/devenv/pkgs/ca-certificates-2018.03.07-0",
"type": 1
},
"md5": "8a61ffe6635a912082978bb8127b5f4b",
"name": "ca-certificates",
"package_tarball_full_path": "/Users/kfranz/continuum/conda/devenv/pkgs/ca-certificates-2018.03.07-0.tar.bz2",
"paths_data": {
"paths": [
{
"_path": "ssl/cacert.pem",
"path_type": "hardlink",
"sha256": "79ea479e9f329de7075c40154c591b51eb056d458bc4dff76d9a4b9c6c4f6d0b",
"sha256_in_prefix": "79ea479e9f329de7075c40154c591b51eb056d458bc4dff76d9a4b9c6c4f6d0b",
"size_in_bytes": 215556
},
{
"_path": "ssl/cert.pem",
"path_type": "softlink",
"sha256": "79ea479e9f329de7075c40154c591b51eb056d458bc4dff76d9a4b9c6c4f6d0b",
"size_in_bytes": 215556
}
],
"paths_version": 1
},
"requested_spec": "None",
"size": 127057,
"subdir": "osx-64",
"timestamp": 1522697594755,
"track_features": "",
"url": "https://repo.anaconda.com/pkgs/main/osx-64/ca-certificates-2018.03.07-0.tar.bz2",
"version": "2018.03.07"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"build": "py27_0",
"build_number": 0,
"channel": "https://repo.anaconda.com/pkgs/main/osx-64",
"constrains": [],
"depends": [
"python >=2.7,<2.8.0a0"
],
"extracted_package_dir": "/Users/kfranz/continuum/conda/devenv/pkgs/certifi-2018.8.13-py27_0",
"features": "",
"files": [
"lib/python2.7/site-packages/certifi-2018.08.13-py2.7.egg-info",
"lib/python2.7/site-packages/certifi/__init__.py",
"lib/python2.7/site-packages/certifi/__init__.pyc",
"lib/python2.7/site-packages/certifi/__main__.py",
"lib/python2.7/site-packages/certifi/__main__.pyc",
"lib/python2.7/site-packages/certifi/cacert.pem",
"lib/python2.7/site-packages/certifi/core.py",
"lib/python2.7/site-packages/certifi/core.pyc"
],
"fn": "certifi-2018.8.13-py27_0.tar.bz2",
"license": "ISC",
"link": {
"source": "/Users/kfranz/continuum/conda/devenv/pkgs/certifi-2018.8.13-py27_0",
"type": 1
},
"md5": "6cc487ec73d85335a324178daa0f86d4",
"name": "certifi",
"package_tarball_full_path": "/Users/kfranz/continuum/conda/devenv/pkgs/certifi-2018.8.13-py27_0.tar.bz2",
"paths_data": {
"paths": [
{
"_path": "lib/python2.7/site-packages/certifi-2018.08.13-py2.7.egg-info",
"path_type": "hardlink",
"sha256": "da056d65e2ae9086c0332558f970fb504ea5c617294d0c21a70342120348a3f4",
"sha256_in_prefix": "da056d65e2ae9086c0332558f970fb504ea5c617294d0c21a70342120348a3f4",
"size_in_bytes": 2950
},
{
"_path": "lib/python2.7/site-packages/certifi/__init__.py",
"path_type": "hardlink",
"sha256": "207251106dfe2667950c8c536ae98cbb8373990924c7ece9cccf49d5aa2f6c4a",
"sha256_in_prefix": "207251106dfe2667950c8c536ae98cbb8373990924c7ece9cccf49d5aa2f6c4a",
"size_in_bytes": 63
},
{
"_path": "lib/python2.7/site-packages/certifi/__init__.pyc",
"path_type": "hardlink",
"sha256": "916857553b065c76f6121a4618ffb55f3ef01605c344ab8ed2c6a13952db6909",
"sha256_in_prefix": "916857553b065c76f6121a4618ffb55f3ef01605c344ab8ed2c6a13952db6909",
"size_in_bytes": 248
},
{
"_path": "lib/python2.7/site-packages/certifi/__main__.py",
"path_type": "hardlink",
"sha256": "162398b75165b6cb7bc24f4345ae860a806bf2a054c65350bbf30a25fd3813ab",
"sha256_in_prefix": "162398b75165b6cb7bc24f4345ae860a806bf2a054c65350bbf30a25fd3813ab",
"size_in_bytes": 41
},
{
"_path": "lib/python2.7/site-packages/certifi/__main__.pyc",
"path_type": "hardlink",
"sha256": "58479a5228c034002ff0fbf2da884edb86e635027ebb4056d128a1b979f105c1",
"sha256_in_prefix": "58479a5228c034002ff0fbf2da884edb86e635027ebb4056d128a1b979f105c1",
"size_in_bytes": 197
},
{
"_path": "lib/python2.7/site-packages/certifi/cacert.pem",
"path_type": "hardlink",
"sha256": "0236c0bb96caef0e474ba9f2571dee1911a619287b038b42a305ae5dd5570499",
"sha256_in_prefix": "0236c0bb96caef0e474ba9f2571dee1911a619287b038b42a305ae5dd5570499",
"size_in_bytes": 261652
},
{
"_path": "lib/python2.7/site-packages/certifi/core.py",
"path_type": "hardlink",
"sha256": "c4f403746fec8b2e40ec17ea1966bb44985c03ad715c4a8f892af0f463728471",
"sha256_in_prefix": "c4f403746fec8b2e40ec17ea1966bb44985c03ad715c4a8f892af0f463728471",
"size_in_bytes": 836
},
{
"_path": "lib/python2.7/site-packages/certifi/core.pyc",
"path_type": "hardlink",
"sha256": "aba6c98a8cc9ab46fe5234622bec03764f12bf7f0052d5ad7cb380e589dd60c0",
"sha256_in_prefix": "aba6c98a8cc9ab46fe5234622bec03764f12bf7f0052d5ad7cb380e589dd60c0",
"size_in_bytes": 1355
}
],
"paths_version": 1
},
"requested_spec": "None",
"size": 141706,
"subdir": "osx-64",
"timestamp": 1534172929698,
"track_features": "",
"url": "https://repo.anaconda.com/pkgs/main/osx-64/certifi-2018.8.13-py27_0.tar.bz2",
"version": "2018.8.13"
}
Loading

0 comments on commit b81d430

Please sign in to comment.