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

Pio doesn't use git library when requested #1155

Closed
andig opened this Issue Oct 31, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@andig

andig commented Oct 31, 2017

Consider this config file for pio 3.5.0a16:

[platformio]
#env_default = esp8266
#env_default = esp32

[common_env_data]
lib_compat_mode=2
#lib_ldf_mode=deep+

[env:esp8266]
platform=espressif8266
framework=arduino
board=esp12e
build_flags = -Tesp8266.flash.4m1m.ld
upload_port = vzero-edd834.local
#targets = upload
lib_deps =
  ArduinoOTA
  Hash
  ESPAsyncWebServer
#  https://github.com/me-no-dev/ESPAsyncWebServer.git
  OneWire
  DHT Sensor Library
  Adafruit Unified Sensor
  DallasTemperature
  ArduinoJson

  ESP8266mDNS
  DNSServer
  ESPAsyncTCP
#  https://github.com/me-no-dev/ESPAsyncTCP.git
lib_ignore =
  AsyncTCP

[env:esp8266_stage]
platform=https://github.com/platformio/platform-espressif8266.git#feature/stage
framework=arduino
board=esp12e
build_flags = -Tesp8266.flash.4m1m.ld
upload_port = vzero-edd834.local
#targets = upload
lib_deps =
  ArduinoOTA
  Hash
  ESPAsyncWebServer
#  https://github.com/me-no-dev/ESPAsyncWebServer.git
  OneWire
  DHT Sensor Library
  Adafruit Unified Sensor
  DallasTemperature
  ArduinoJson

  ESP8266mDNS
  DNSServer
#  ESPAsyncTCP
  https://github.com/me-no-dev/ESPAsyncTCP.git
lib_ignore =
  AsyncTCP

[env:esp32]
platform=espressif32_stage
framework=arduino
board=featheresp32
lib_deps =
  ArduinoOTA
  Hash
#  ESPAsyncWebServer
  https://github.com/me-no-dev/ESPAsyncWebServer.git
  OneWire
  DHT Sensor Library
  Adafruit Unified Sensor
  DallasTemperature
  ArduinoJson

#  HTTPClient
  WiFiClientSecure
#  AsyncTCP
  https://github.com/me-no-dev/AsyncTCP.git
  https://github.com/bbx10/DNSServer_tng
  ESPmDNS
lib_ignore =
  ESPAsyncTCP

When compiling esp8266_stage pio shows this dependency tree:

Library Dependency Graph
|-- <ArduinoOTA> v1.0
|   |-- <ESP8266WiFi> v1.0
|   |-- <ESP8266mDNS>
|   |   |-- <ESP8266WiFi> v1.0
|-- <Hash> v1.0
|-- <ESPAsyncWebServer> v1.1.0
|   |-- <ESPAsyncTCP> v1.1.0
|   |   |-- <ESP8266WiFi> v1.0
|   |-- <ESP8266WiFi> v1.0
|   |-- <ArduinoJson> v5.11.1
|   |-- <Hash> v1.0
|-- <OneWire> v2.3.2
|-- <Adafruit Unified Sensor> v1.0.2
|-- <DallasTemperature> v3.7.7
|   |-- <OneWire> v2.3.2
|-- <ArduinoJson> v5.11.1
|-- <ESP8266mDNS>
|   |-- <ESP8266WiFi> v1.0
|-- <DNSServer> v1.1.0
|   |-- <ESP8266WiFi> v1.0
|-- <ESP8266HTTPClient> v1.1
|   |-- <ESP8266WiFi> v1.0
|-- <DHT sensor library> v1.3.0
|   |-- <Adafruit Unified Sensor> v1.0.2
|-- <ESP8266WiFi> v1.0

It shows that ESPAsyncTCP is used at 1.1.0, not git.

Even if the git version of ESPAsyncWebServer is used it still doesn't use ESPAsyncTCP git. In this case also the ESPAsyncWebServer is still locked at 1.1.0 which is not what is requested.

@ivankravets ivankravets added the bug label Oct 31, 2017

@ivankravets ivankravets added this to the 3.5.0 milestone Oct 31, 2017

@ivankravets

This comment has been minimized.

Member

ivankravets commented Nov 25, 2017

Please pio upgrade to 3.5.0b5 and retest. Thanks!

ivankravets added a commit that referenced this issue Dec 28, 2017

Bump version to 3.5.0 (issue #1260, issue #781, issue #778, issue #463,…
… issue #1236, issue #1235, issue #953, issue #1118, issue #1107, issue #1196, issue #1179, issue #1161, issue #1126, issue #104, issue #1033, issue #1034, issue #1175, issue #1173, issue #1155, issue #1188, issue #1111, issue #1153, issue #1150, issue #1145, issue #1139, issue #1137, issue #1170, issue #1157, issue #1102, issue #1105, issue #1140, issue #1154, issue #1066, issue #1038, issue #1054, issue #1055, issue #1061, issue #1017)

ivankravets added a commit to ivankravets/homebrew-core that referenced this issue Dec 28, 2017

platformio 3.5.0
PlatformIO Core 3.5.0 introduces many new features and performance improvements. The notable changes are as follows:

* [PlatformIO Home](http://docs.platformio.org/page/home/index.html) - interact with PlatformIO ecosystem using modern and cross-platform GUI:
  - Library Manager:
    * Search for new libraries in PlatformIO Registry
    * "1-click" library installation, per-project libraries, extra storages
    * List installed libraries in multiple storages
    * List built-in libraries (by frameworks)
    * Updates for installed libraries
    * Multiple examples, trending libraries, and more.
  - PlatformIO Projects
  - PIO Account
  - Development platforms, frameworks and board explorer
  - Device Manager: serial, logical, and multicast DNS services
* Integration with [Jenkins CI](http://docs.platformio.org/page/ci/jenkins.html)
* New [include](http://docs.platformio.org/page/projectconf/section_platformio.html#include-dir) folder for project's header files ([issue Homebrew#1107](platformio/platformio-core#1107))
* Depend on development platform using VSC URL (Git, Mercurial and Subversion) instead of a name in [Project Configuration File "platformio.ini"](http://docs.platformio.org/page/projectconf/section_env_general.html#platform). Drop support for ``*_stage`` dev/platform names (use VCS URL instead).
* Reinstall/redownload package with a new ``-f, --force`` option for [platformio lib install](http://docs.platformio.org/page/userguide/lib/cmd_install.html) and [platformio platform install](http://docs.platformio.org/page/userguide/platforms/cmd_install.html) commands ([issue Homebrew#778](platformio/platformio-core#778))
* Handle missed dependencies and provide a solution based on PlatformIO Library Registry ([issue Homebrew#781](platformio/platformio-core#781))
* New setting [projects_dir](http://docs.platformio.org/page/userguide/cmd_settings.html#projects-dir) that allows to override a default PIO Home Projects location ([issue Homebrew#1161](platformio/platformio-core#1161))
* [Library Dependency Finder (LDF)](http://docs.platformio.org/page/librarymanager/ldf.html):
  - Search for dependencies used in [PIO Unit Testing](http://docs.platformio.org/page/plus/unit-testing.html) ([issue Homebrew#953](platformio/platformio-core#953))
  - Parse library source file in pair with a header when they have the same name ([issue Homebrew#1175](platformio/platformio-core#1175))
  - Handle library dependencies defined as VCS or SemVer in [Project Configuration File "platformio.ini"](http://docs.platformio.org/page/projectconf/section_env_general.html#platform) ([issue Homebrew#1155](platformio/platformio-core#1155))
  - Added option to configure library [Compatible Mode](http://docs.platformio.org/page/librarymanager/ldf.html#compatibility-mode) using [library.json](http://docs.platformio.org/page/librarymanager/config.html)
* New options for [platformio device list](http://docs.platformio.org/page/userguide/cmd_device.html#platformio-device-list)  command:
  - ``--serial`` list available serial ports (default)
  - ``--logical`` list logical devices
  - ``--mdns`` discover multicast DNS services ([issue Homebrew#463](platformio/platformio-core#463))
* Other bug fixes and performance improvements.

See [PlatformIO 3.5 Release Notes](http://docs.platformio.org/page/history.html) for details.

BrewTestBot added a commit to BrewTestBot/homebrew-core that referenced this issue Dec 28, 2017

platformio 3.5.0
PlatformIO Core 3.5.0 introduces many new features and performance improvements. The notable changes are as follows:

* [PlatformIO Home](http://docs.platformio.org/page/home/index.html) - interact with PlatformIO ecosystem using modern and cross-platform GUI:
  - Library Manager:
    * Search for new libraries in PlatformIO Registry
    * "1-click" library installation, per-project libraries, extra storages
    * List installed libraries in multiple storages
    * List built-in libraries (by frameworks)
    * Updates for installed libraries
    * Multiple examples, trending libraries, and more.
  - PlatformIO Projects
  - PIO Account
  - Development platforms, frameworks and board explorer
  - Device Manager: serial, logical, and multicast DNS services
* Integration with [Jenkins CI](http://docs.platformio.org/page/ci/jenkins.html)
* New [include](http://docs.platformio.org/page/projectconf/section_platformio.html#include-dir) folder for project's header files ([issue Homebrew#1107](platformio/platformio-core#1107))
* Depend on development platform using VSC URL (Git, Mercurial and Subversion) instead of a name in [Project Configuration File "platformio.ini"](http://docs.platformio.org/page/projectconf/section_env_general.html#platform). Drop support for ``*_stage`` dev/platform names (use VCS URL instead).
* Reinstall/redownload package with a new ``-f, --force`` option for [platformio lib install](http://docs.platformio.org/page/userguide/lib/cmd_install.html) and [platformio platform install](http://docs.platformio.org/page/userguide/platforms/cmd_install.html) commands ([issue Homebrew#778](platformio/platformio-core#778))
* Handle missed dependencies and provide a solution based on PlatformIO Library Registry ([issue Homebrew#781](platformio/platformio-core#781))
* New setting [projects_dir](http://docs.platformio.org/page/userguide/cmd_settings.html#projects-dir) that allows to override a default PIO Home Projects location ([issue Homebrew#1161](platformio/platformio-core#1161))
* [Library Dependency Finder (LDF)](http://docs.platformio.org/page/librarymanager/ldf.html):
  - Search for dependencies used in [PIO Unit Testing](http://docs.platformio.org/page/plus/unit-testing.html) ([issue Homebrew#953](platformio/platformio-core#953))
  - Parse library source file in pair with a header when they have the same name ([issue Homebrew#1175](platformio/platformio-core#1175))
  - Handle library dependencies defined as VCS or SemVer in [Project Configuration File "platformio.ini"](http://docs.platformio.org/page/projectconf/section_env_general.html#platform) ([issue Homebrew#1155](platformio/platformio-core#1155))
  - Added option to configure library [Compatible Mode](http://docs.platformio.org/page/librarymanager/ldf.html#compatibility-mode) using [library.json](http://docs.platformio.org/page/librarymanager/config.html)
* New options for [platformio device list](http://docs.platformio.org/page/userguide/cmd_device.html#platformio-device-list)  command:
  - ``--serial`` list available serial ports (default)
  - ``--logical`` list logical devices
  - ``--mdns`` discover multicast DNS services ([issue Homebrew#463](platformio/platformio-core#463))
* Other bug fixes and performance improvements.

See [PlatformIO 3.5 Release Notes](http://docs.platformio.org/page/history.html) for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment