Skip to content

Commit

Permalink
Use python_requires from lib/setup.py in conda build (streamlit#7537)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdonato authored Oct 13, 2023
1 parent 46c8f61 commit 1ecb4e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: Our conda release of streamlit currently requires Python 3.8+ while
# the PyPI release requires Python 3.7+, so we can't grab the minimum python
# version from package_data.get('python_requires') for now.
{% set python_version_bound = ">=3.8" %}
{% set package_data = load_setup_py_data() %}


Expand All @@ -41,7 +37,7 @@ build:
requirements:
host:
- pip
- python {{ python_version_bound }}
- python {{ package_data.get('python_requires') }}
run:
{% for req in package_data.get('install_requires', []) %}
# 2022.07.01 - temporarily set protobuf's lower bound to 3.11 to work
Expand Down

0 comments on commit 1ecb4e4

Please sign in to comment.