abravalheri on pep660
[Docs] Add two footnotes about … [Docs] Fix a note about PEP660 … Update pyparsing in vendored.txt and 26 more (compare)
abravalheri on v63.4.2
abravalheri on main
Add news fragment for #3481 Bump version: 63.4.1 → 63.4.2 (compare)
project_urls
. You can refer to the history, which may or may not make mention of that particular change.
python_requires
configuration item, and that seems to be parseable by SpecifierSet
Requirement.parse('python' + python_requires).specifiers
--script-dir
argument, which I gather allows you to, at runtime, specify a target for all scripts.
extras
inside my setup.py
?Hello. I'm experiencing a problem where the end symptom is setuptools complaining setuptools-scm was unable to detect version for...
. Ultimately this is during a conda environment create, via pip as an intermediary. I can reproduce it with pip
directly just attempting to install one package. The package in question is being installed from a github repo via SSH. It is not in the root of the repo. The setup.py looks like this:
import os
from setuptools import setup
setup(
name = 'c12e_data',
packages = ['c12e.data'],
use_scm_version = {
'root' : '..',
'relative_to': os.path.dirname(__file__)
},
install_requires = [
'typing_extensions'
],
tests_require = [
'hypothesis',
'pytest >= 3.8.1, < 4.0',
'c12e_testing'
],
extras_require = {
's3': ['boto3 >= 1.0.0, < 2.0.0']
},
setup_requires = [
'setuptools_scm',
'pytest-runner'
]
)
This is in the c12e_data
directory within the git repo root. The conda environment.yml
pins the versions of pip
and setuptools
according to:
channels:
- conda-forge
- pytorch
- defaults
dependencies:
- pip=19.0.1
- python=3.6.8
- setuptools=40.7.3
- toolz=0.9.0
- scikit-learn
- pip:
- git+ssh://git@github.com/CognitiveScale/c12e-python.git@v1.0.4#subdirectory=c12e_data
The really odd thing is that this exact install was working fine a few weeks ago, and so far as I can tell nothing has changed (the git tag specified is old and unchanged, the versions of pip and setuptools are pinned and unchanged). All I can think of is that some unpinned transitive dependency (of setuptools or something) must have changed.
pip
and setuptools
but not gotten anywhere. Has anyone seen anything similar recently?