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

Add shared-memory-dict #19855

Merged
merged 25 commits into from
Aug 28, 2022
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
600e8a9
feat: add shared-memory-dict
maxb2 Jul 28, 2022
063eaa7
fix: meta.yml linted
maxb2 Jul 28, 2022
6d98f50
fix: add build requirements
maxb2 Jul 28, 2022
8efa091
fix: top level host requirements
maxb2 Jul 28, 2022
66cadd2
Update recipes/shared-memory-dict/meta.yaml
maxb2 Aug 12, 2022
37835a6
fix: space between names and pins
maxb2 Aug 12, 2022
ec9ee1a
fix: rewrite outputs
maxb2 Aug 25, 2022
778a669
fix: missing test
maxb2 Aug 25, 2022
65ecb82
fix: build requirements
maxb2 Aug 25, 2022
064e566
fix: host requirements everwhere
maxb2 Aug 25, 2022
36750db
fix: linter
maxb2 Aug 25, 2022
f29c638
wip: see if the old version builds on CI
maxb2 Aug 25, 2022
da1fc7d
fix: top level test requirements
maxb2 Aug 25, 2022
4baeb9a
fix: modeled after sagemaker-inference-toolkit-feedstock
maxb2 Aug 25, 2022
0744e76
fix: exact subpackage pin
maxb2 Aug 25, 2022
1f69c84
Update recipes/shared-memory-dict/meta.yaml
maxb2 Aug 25, 2022
652d393
Update recipes/shared-memory-dict/meta.yaml
maxb2 Aug 25, 2022
9d57c48
Update recipes/shared-memory-dict/meta.yaml
maxb2 Aug 26, 2022
cc8c5e2
fix: simplify subpackages
maxb2 Aug 26, 2022
5da8c18
add poetry to host requirements
maxb2 Aug 26, 2022
5ff5523
wip: test top-level test requirement
maxb2 Aug 26, 2022
7dbf418
Revert "wip: test top-level test requirement"
maxb2 Aug 26, 2022
bed3c2a
Update recipes/shared-memory-dict/meta.yaml
maxb2 Aug 26, 2022
814f100
fix: unpin subpackage constraints
maxb2 Aug 26, 2022
dbdf871
Update build_base.sh
carterbox Aug 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recipes/shared-memory-dict/build_base.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${PYTHON} -m pip install . --no-deps -vv
78 changes: 78 additions & 0 deletions recipes/shared-memory-dict/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{% set name = "shared-memory-dict" %}
{% set version = "0.7.2" %}

package:
name: {{ name|lower }}-meta
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/shared-memory-dict-{{ version }}.tar.gz
sha256: 8294257e1a2466afb5e19a878a8c446325b8913d57d6d9578ccba905564a974d

build:
number: 0

outputs:
- name: shared-memory-dict
build:
noarch: python
script: build_base.sh
requirements:
host:
- pip
- python >=3.6,<4.0
maxb2 marked this conversation as resolved.
Show resolved Hide resolved
run:
- python >=3.6,<4.0
test:
imports:
- shared_memory_dict
commands:
- pip check
requires:
- pip

- name: shared-memory-dict-aiocache
build:
noarch: generic
requirements:
run:
- {{ pin_subpackage('shared-memory-dict', exact=True) }}
- aiocache >=0.11.1,<0.12.0
test:
imports:
- shared_memory_dict

- name: shared-memory-dict-all
build:
noarch: generic
requirements:
run:
- {{ pin_subpackage('shared-memory-dict', exact=True) }}
- aiocache >=0.11.1,<0.12.0
- django >=3.0.8,<4.0.0
maxb2 marked this conversation as resolved.
Show resolved Hide resolved
test:
imports:
- shared_memory_dict

- name: shared-memory-dict-django
build:
noarch: generic
requirements:
run:
- {{ pin_subpackage('shared-memory-dict', exact=True) }}
- django >=3.0.8,<4.0.0
test:
imports:
- shared_memory_dict

about:
home: https://github.com/luizalabs/shared-memory-dict
summary: A very simple shared memory dict implementation
license: MIT
license_file:
- LICENSE

extra:
recipe-maintainers:
- maxb2
maxb2 marked this conversation as resolved.
Show resolved Hide resolved
feedstock-name: shared-memory-dict